Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dogweather committed Jul 17, 2023
1 parent 5e42b52 commit 9b85892
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

**Rails 7 update:** 35% reduction in allocations measured. I tested with [my Rails app's home page](https://www.public.law) running Rails 7.0.6 and Ruby 3.2.2 in production. It's a very simple page with only five images. If you have more, you'll get a bigger boost:

<img src="https://github.com/dogweather/asset_ram/raw/master/test-data.png" alt="Test Data" style="width: 50%;">
<img src="https://github.com/dogweather/asset_ram/raw/master/test-data.png" alt="Test Data" style="width: 70%;">

The savings come from avoiding asset calculations. The app is faster, too. But it's hard for me to measure precisely: enabling AssetRam, this page goes from ~9ms to ~7ms.

Expand Down

0 comments on commit 9b85892

Please sign in to comment.