mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
Fix max_latency benchmark on zero value (#2247)
This commit is contained in:
parent
200bed9277
commit
474d47e841
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ function generate(
|
|||
delete yAxis.min;
|
||||
for (let col of columns) {
|
||||
for (let i = 1; i < col.length; i++) {
|
||||
if (col[i] == null) {
|
||||
if (col[i] == null || col[i] === 0) {
|
||||
continue;
|
||||
}
|
||||
col[i] = Math.log10(col[i] * TimeScaleFactor);
|
||||
|
|
Loading…
Reference in a new issue