osyoyu / pf2

A sampling-based profiler for Ruby
https://rubygems.org/gems/pf2
MIT License
49 stars 3 forks source link

Implement pf2 serve subcommand #10

Closed osyoyu closed 8 months ago

osyoyu commented 9 months ago

Usage

$ pf2 serve -- ruby target.rb

Implementation details

pf2 serve simply sets RUBYOPT to -rpf2/serve, which requires serve.rb beforehand script execution.