Code Monkey home page Code Monkey logo

cpuprofiler's People

Contributors

athemathmo avatar d-e-s-o avatar dgrnbrg avatar donbright avatar jmmv avatar valloric avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cpuprofiler's Issues

Update version in README

Hi,
i took the version (0.0.2) from the README.md, after compiling and running my project i got an error regarding non-existing file, i searched through issues, i found the PR that fixed that, i then checked out the newest version on crates.io and finally installed 0.0.3 which works just fine.
I'd suggest bumping the version in the README file to avoid confusion for other people. Do you want to open a PR about that, or would you rather do that yourself?

Btw i find your crate immensely helpful in my current project :)

No function names in results (on OS X)

Hi!

I'm trying to get this working on OS X 10.11.6. It seems to build and work, but no function names are included in the results. Everything is collapsed under mandelbrot as a single entry (see below).

Any way to use this on OS X, or is it Linux only?

Thanks!

Matts-MacBook-Pro:mandelbrot holden$ go tool pprof target/debug/mandelbrot cpu.prof
Local symbolization failed for libsystem_platform.dylib: open /usr/lib/system/libsystem_platform.dylib: unrecognized object file
Local symbolization failed for libsystem_m.dylib: open /usr/lib/system/libsystem_m.dylib: unrecognized object file
Local symbolization failed for libdyld.dylib: open /usr/lib/system/libdyld.dylib: unrecognized object file
Entering interactive mode (type "help" for commands)
(pprof) top 10
6.92s of 6.92s total (  100%)
      flat  flat%   sum%        cum   cum%
     6.60s 95.38% 95.38%      6.91s 99.86%  [mandelbrot]
     0.31s  4.48% 99.86%      0.32s  4.62%  [libsystem_m.dylib]
     0.01s  0.14%   100%      0.50s  7.23%  [libsystem_platform.dylib]
         0     0%   100%      5.47s 79.05%
         0     0%   100%      5.47s 79.05%  [libdyld.dylib]
         0     0%   100%      0.21s  3.03%  [libprofiler.0.dylib]

Profiling fails is profile file does not exist

PROFILER.lock().unwrap().start("/tmp/prof.profile").unwrap();
[...code...]
PROFILER.lock().unwrap().stop().unwrap();

The above code fails with "No such file or directory" if the /tmp/prof.profile file does not already exists. This strikes me as poor usability; the file should be created if it doesn't exist and overwritten if it does.

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.