Giter Club home page Giter Club logo

Comments (4)

bhb avatar bhb commented on July 22, 2024

That can occur if the program was so fast that it could not be sampled. Try profiling a slower request to see if you get anything. You can also try increasing the frequency.

from rack-perftools_profiler.

ncri avatar ncri commented on July 22, 2024

Nope, whatever page I test (and my app is not the fastest) I get this error. Also upping the frequency doesn't help. In the browser the error looks like this:

Running the command 'bundle exec pprof.rb --text /private/var/folders/7h/y502phtj2b1g8cjs0c173hrw0000gn/T/rack_perftools_profiler.prof' failed to generate a file

Standard error:
Using local file /Users/nico/.rvm/rubies/ruby-2.0.0-p247/bin/ruby.
Using local file /private/var/folders/7h/y502phtj2b1g8cjs0c173hrw0000gn/T/rack_perftools_profiler.prof.

It only appears with mode=objects. Which is the only mode I need unfortunately...

from rack-perftools_profiler.

bhb avatar bhb commented on July 22, 2024

Ah, sorry. I missed the part about it only failing in "objects" mode.

It sounds like this bug in perftools.rb to me. It's been fixed but a newer gem has not yet been published. Can you try installing the gem from git with Bundler?

from rack-perftools_profiler.

ncri avatar ncri commented on July 22, 2024

thx, yes, it works now, but takes ages for a single request... ;-)

from rack-perftools_profiler.

Related Issues (20)

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.