arl / statsviz

🚀 Visualise your Go program runtime metrics in real time in the browser
MIT License
3.19k stars 121 forks source link

Behaviour when stats value is NaN or infinite #123

Open arl opened 8 months ago

arl commented 8 months ago

We should add unit tests to verify the behaviour if we're trying to encode floating points equals to NaN or infinite, whether they come from runtime/metrics (if that's even possible) or more probably, from user provided values