So I still have a *ton* of work to do, and this code is not particularly well optimized (or complete), but my naive PoC for this is showing nearly a 2x speedup for Active Record. (measuring `Post.all.each(&:attributes)` on 1k records)
-
-
Though this is also in the benchmark for `ActiveRecord::Base#attributes` which literally nobody calls, but is a good proxy for "I read all of the fields on this thing"
-
It will juice the AR benchmarks in TFB! https://github.com/TechEmpower/FrameworkBenchmarks/blob/master/frameworks/Ruby/sinatra/hello_world.rb …
End of conversation
New conversation -
-
-
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.