Last active
August 29, 2015 14:10
-
-
Save Ptico/9ecedb9ab176ff781084 to your computer and use it in GitHub Desktop.
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
Before: | |
user system total real | |
camelize 1.090000 0.120000 1.210000 ( 1.209177) | |
underscore 1.280000 0.130000 1.410000 ( 1.421322) | |
dasherize 0.540000 0.070000 0.610000 ( 0.605857) | |
demodulize 0.370000 0.050000 0.420000 ( 0.420292) | |
foreign_key 1.020000 0.080000 1.100000 ( 1.103289) | |
ordinalize 3.570000 0.230000 3.800000 ( 3.809217) | |
pluralize 5.000000 0.110000 5.110000 ( 5.113936) | |
singularize 40.180000 2.780000 42.960000 ( 43.558435) | |
humanize 1.190000 0.120000 1.310000 ( 1.350652) | |
tableize 10.110000 0.430000 10.540000 ( 10.695196) | |
classify 40.350000 2.940000 43.290000 ( 44.274668) | |
==================================== | |
Total time: 113.562041 | |
Memory used: 5302256 | |
After: | |
user system total real | |
camelize 1.050000 0.110000 1.160000 ( 1.175786) ≈1x | |
underscore 1.280000 0.130000 1.410000 ( 1.403571) ≈1x | |
dasherize 0.110000 0.020000 0.130000 ( 0.136267) ≈4x | |
demodulize 0.120000 0.020000 0.140000 ( 0.139476) ≈3x | |
foreign_key 0.510000 0.050000 0.560000 ( 0.552877) ≈2x | |
ordinalize 2.350000 0.110000 2.460000 ( 2.482647) ≈1.5x | |
pluralize 3.700000 0.100000 3.800000 ( 3.811337) ≈1.3x | |
singularize 3.300000 0.110000 3.410000 ( 3.404231) ≈12.5x | |
humanize 0.650000 0.060000 0.710000 ( 0.709986) ≈1.9x | |
tableize 7.130000 0.300000 7.430000 ( 7.463437) ≈1.4x | |
classify 5.570000 0.240000 5.810000 ( 5.834712) ≈7.5x | |
==================================== | |
Total time: 27.114327 | |
Memory used: 3175396 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment