borzik / ams-jbuilder-pg Goto Github PK
View Code? Open in Web Editor NEWto_json vs ams vs ams-pg vs jbuilder
to_json vs ams vs ams-pg vs jbuilder
Hello Felix
First thanks for this awesome benchmark you gave us, it's very interesting.
I'm trying to run the test on my own machine without success. First I had problem with test:prepare
:
$ rake test:benchmark
rake aborted!
Don't know how to build task 'test:prepare'
/Users/bti/.rvm/gems/ruby-2.2.1/gems/activesupport-4.1.7/lib/active_support/dependencies.rb:241:in `load'
/Users/bti/.rvm/gems/ruby-2.2.1/gems/activesupport-4.1.7/lib/active_support/dependencies.rb:241:in `block in load'
/Users/bti/.rvm/gems/ruby-2.2.1/gems/activesupport-4.1.7/lib/active_support/dependencies.rb:232:in `load_dependency'
/Users/bti/.rvm/gems/ruby-2.2.1/gems/activesupport-4.1.7/lib/active_support/dependencies.rb:241:in `load'
-e:1:in `<main>'
Tasks: TOP => test:benchmark
(See full trace by running task with --trace)
Strange because db was create, migrate, seeded...
I've finally add task 'test:prepare'
into my Rakefile and now I get :
rake test:benchmark
Run options: --seed 64113
# Running:
IndexTest#test_posts_index (31 ms warmup)
wall_time: 2 ms
memory: unsupported
process_time: 2 ms
.
Finished in 0.457237s, 2.1870 runs/s, 0.0000 assertions/s.
Very different result like you, process time seems fake. Did you make your benchmark in a different way ?
Thanks in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.