Comments (5)
Can you confirm it's not an issue with perftools.rb itself? Can you see if you can successfully generate profiling data via these instructions. Thanks!
from rack-perftools_profiler.
When I run the command on the command line that was being run by the /__data__
URL I get the same result. So it's really quite likely it's an issue with Perftools itself.
However, the test programs at the link you gave seem to work without error.
from rack-perftools_profiler.
That's interesting.
I have seen problems in the past where the data file (rack_perftools_profiler.prof
) didn't have enough data to actually extract a useful visualization. Ideally, if that happened, pprof.rb
would give a useful message, but I have seen cases where it just crashes. I haven't seen that specific error message before, but it's my best guess at this point.
Can you try two things?
- Instead of navigating to
/__data__
can you instead go to/__data__?printer=text
. I wonder if the issue is generating the gif or if any data extraction has the problem. - Can you set the mode to
:walltime
and then visit a endpoint where you've added asleep
to force a long execution time. Then go to/__data__
with both the text and gif printer.
from rack-perftools_profiler.
At this point, I no longer have the example set up. However, it's very unlikely (in that specific case) that the problem was too little data, in the sense of just not running for long enough.
from rack-perftools_profiler.
Darn. Well, unfortunately, I'm out of ideas. I'm confident that the middleware is making calls to perftools.rb
correctly, so I'm guessing it's a bug in perftools.rb
with your specific data.
I appreciate you reporting this, but I'm not sure what else to do that this point. I'm going to close now.
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
- Symbol not found: _ruby_current_thread HOT 6
- 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
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.