-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add fast-path for type-casting Jsonb/Timestamp
Add support for: - ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Jsonb - ActiveRecord::ConnectionAdapters::PostgreSQL::OID::Timestamp Benchmark - running `benchmarks/sanity` with ITEMS_COUNT of 2300, adding `jsonb` column to Posts. ``` Master: {"label":"Panko_Simple_Posts_2300","ips":"87.56","allocs":"20721/2"} {"label":"Panko_Simple_Posts_50","ips":"4,266.99","allocs":"469/2"} {"label":"Panko_HasOne_Posts_2300","ips":"109.31","allocs":"9227/1"} {"label":"Panko_HasOne_Posts_50","ips":"5,557.47","allocs":"227/1"} {"label":"Panko_SimpleWithMethodCall_Posts_2300","ips":"82.25","allocs":"20722/2"} {"label":"Panko_SimpleWithMethodCall_Posts_50","ips":"3,954.0","allocs":"472/2"} Branch: {"label":"Panko_Simple_Posts_2300","ips":"137.27","allocs":"9221/1"} {"label":"Panko_Simple_Posts_50","ips":"6,605.73","allocs":"219/1"} {"label":"Panko_HasOne_Posts_2300","ips":"112.41","allocs":"9227/1"} {"label":"Panko_HasOne_Posts_50","ips":"5,726.94","allocs":"227/1"} {"label":"Panko_SimpleWithMethodCall_Posts_2300","ips":"124.72","allocs":"9222/1"} {"label":"Panko_SimpleWithMethodCall_Posts_50","ips":"5,972.18","allocs":"222/1"} ```
- Loading branch information
Showing
3 changed files
with
21 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters