Actions
Bug #9703
closedInconsistent profile output
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux]
Backport:
Description
The output of the profile lib seems to be partially dependent on how it is required. For example,
ruby -rprofile -e '0==1'
shows one call to Fixnum#== as expected
ruby -e 'require "profile"; 0==1'
does not show any calls to Fixnum#== !!!
ruby -e 'require "profile"; eval("0==1")'
again shows one call to Fixnum#== as expected.
Actions
Like0
Like0Like0Like0