Comments (6)
It looks like it's a problem with perftools.rb, unfortunately.
Hopefully it'll get fixed soon.
from rack-perftools_profiler.
Thanks for that. Sad it seems that that has been hanging around for so long.
On Feb 2, 2012, at 3:58 PM, Ben Brinckerhoff wrote:
It looks like it's a problem with perftools.rb, unfortunately.
Hopefully it'll get fixed soon.
Reply to this email directly or view it on GitHub:
#16 (comment)
from rack-perftools_profiler.
Very quick fix: tmm1/perftools.rb#39
from rack-perftools_profiler.
Very cool. Thanks for posting that here!
from rack-perftools_profiler.
@bhb no problem! I am curious, execution did seem to work okay, however I did end up with the following output while running it on my dev server (http://devel.mydomain.tld/some-page?profile=true) vs something more meaningful as expected and was hopeful for your help in interpreting this output:
Running the command 'bundle exec pprof.rb --gif /private/var/folders/65/l2_dsbdd2hd26hfqqbv9brnw0000gn/T/rack_perftools_profiler.prof' exited with status 1
Standard error:
/Users/username/.rvm/gems/ruby-1.9.3-p0/gems/perftools.rb-0.5.6/bin/pprof.rb:3: Use RbConfig instead of obsolete and deprecated Config.
Using local file /Users/username/.rvm/rubies/ruby-1.9.3-p0/bin/ruby.
Using local file /private/var/folders/65/l2_dsbdd2hd26hfqqbv9brnw0000gn/T/rack_perftools_profiler.prof.
No nodes to print
from rack-perftools_profiler.
"No nodes to print" just means that the page completed so quickly, the profiler didn't get a chance to sample anything? You can try running more times (e.g. http://devel.mydomain.tld/some-page?profile=true×=10
or increase the frequency when configuring the middleware.
Admittedly, it's a terrible error message. My intent was to give the error message from perftools.rb directly, so it is easy to debug problems, but in the case of this error message (which is common), it'd be good to explain what it means.
from rack-perftools_profiler.
Related Issues (20)
- get some segfaults with __data__ in :walltime HOT 3
- In rails, when adding the profile attribute to a form in rails for the option of profiling nested param structures are degraded into strings HOT 1
- routes problem with devise default setup HOT 4
- Can't get a minimal Sinatra example working HOT 8
- Segmentation fault when using :mode => :objects HOT 2
- Unable to provide :password => "password" and then not profile requests HOT 2
- Unable to get useful profiling data HOT 3
- Update perftools.rb dependency to allow 2.0.0 HOT 3
- Enabling/disabling GC manually causes rack-perftools_profiler to hang HOT 1
- Objects mode not collecting data? HOT 3
- Install fails on Windows due to missing tar command HOT 2
- crash in rb_stack_trace on ruby-1.9.3-p286 HOT 1
- quickstart instructions don't work, need 'gem install perftools.rb'
- Broken on Ruby 2: Bump the perftools.rb dependency for fix HOT 2
- Installation fails for ruby 2.1 HOT 3
- ?profile=true causes error when using mode: objects HOT 4
- no ps2pdf package for Ubuntu, should use ghostscript HOT 1
- Segment fault when trying to stop profiler by visiting /__stop__ on Rails 4.0.5 / Ruby 2.1.1 HOT 1
- Perl errors when trying to use tool, Mac OS Yosemite and Ruby 2.0.0-p247 HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rack-perftools_profiler.