Small variations in sonalyze output in runs on the same data #600
Labels
component:sonalyze
sonalyze/*
task:bug
Something isn't working
task:ux
User experience, both web and command line
There are two variations I've observed:
jobs
for exampleThe first one is more a matter of taste than anything, but it comes down to improving the predicate used by sortableSummaries in jobs/print.go. For testing purposes we can pass the output through
sort
and we'll have something more stable.The second one is more worrisome. Here's the diff from two adjacent runs of
jobs
(the outputs have been post-sorted to avoid the first problem):(Command:
sonalyze jobs -data-dir ~/sonar/data/fox.educloud.no -u - -from 2024-05-01 -to 2024-06-30
)There's usually a small difference - one ULP - in the memory readings. This is probably some kind of numeric instability, which may in turn come down to the order in which records are processed, but it would be good to verify that, and if so, to fix it.
The text was updated successfully, but these errors were encountered: