In my html, I have this partial that i want to render x1000 :

```
<div data-image-url="<%= image_path("placeholders/#{object.placeholder_name}") %>"></div>

```

And the results is slow, between 5 and 40ms per view rendering, so > 15s for the full page :

```
  ...
  Rendered default_services/_default_service.html.erb (15.6ms)
  Rendered default_services/_default_service.html.erb (7.0ms)
  Rendered default_services/_default_service.html.erb (5.9ms)
  Rendered default_services/_default_service.html.erb (7.2ms)
  Rendered default_services/_default_service.html.erb (8.7ms)
  Rendered default_services/_default_service.html.erb (6.0ms)
  Rendered default_services/_default_service.html.erb (10.3ms)
  Rendered default_services/_default_service.html.erb (9.4ms)
  Rendered default_services/_default_service.html.erb (5.7ms)
  Rendered default_services/_default_service.html.erb (5.4ms)
  Rendered default_services/_default_service.html.erb (38.5ms)
  Rendered default_services/_default_service.html.erb (9.0ms)
  Rendered default_services/_default_service.html.erb (9.8ms)
  Rendered default_services/_default_service.html.erb (6.8ms)
  Rendered default_services/_default_service.html.erb (5.7ms)
  Rendered default_services/_default_service.html.erb (7.9ms)
  Rendered default_services/_default_service.html.erb (8.0ms)
  Rendered default_services/_default_service.html.erb (6.0ms)
  Rendered default_services/_default_service.html.erb (5.6ms)
  ...

```

(When I comment out 'image\_path', it is 0.1 or 0.2ms per view rendering.)

=> Is it possible to make "image\_path" faster, (except using cache)?

(I am caching the whole thing so in the end, the total 1000x rendering is <10ms but still wondering)