Giter VIP home page Giter VIP logo

ams-jbuilder-pg's People

Contributors

borzik avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

ams-jbuilder-pg's Issues

Different output when running benchmark.

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.