You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently I started to expand integration tests for my Perl plugin for IntelliJ IDEA and found out that for some reason profiler produces unstable results in different runs. Ubuntu and Windows are fine.
perl-5.36.0
latest NytProf
Here is my test script:
sub something {
my $scalar = 1;
if ($scalar > 2) {
print "false";
}
elsif ($scalar < 2) {
print 'true';
}
print 'done';
}
BEGIN{
print 'begin block';
}
print 42;
something();
END{
print 'this is the end';
}
And here are 2 different runs stmts=0:calls=2:savesrc=0:slowops=1:sigexit=1:addpid=1:start=init:
And here are 2 different runs stmts=0:calls=2:savesrc=0:slowops=1:sigexit=1:addpid=1:start=begin:
Recently I started to expand integration tests for my Perl plugin for IntelliJ IDEA and found out that for some reason profiler produces unstable results in different runs. Ubuntu and Windows are fine.
Here is my test script:
And here are 2 different runs
stmts=0:calls=2:savesrc=0:slowops=1:sigexit=1:addpid=1:start=init
:And here are 2 different runs
stmts=0:calls=2:savesrc=0:slowops=1:sigexit=1:addpid=1:start=begin
:Cross-reference: Camelcade/Perl5-IDEA#2609
The text was updated successfully, but these errors were encountered: