mirror of
https://github.com/denoland/deno.git
synced 2024-11-29 16:30:56 -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;
|
delete yAxis.min;
|
||||||
for (let col of columns) {
|
for (let col of columns) {
|
||||||
for (let i = 1; i < col.length; i++) {
|
for (let i = 1; i < col.length; i++) {
|
||||||
if (col[i] == null) {
|
if (col[i] == null || col[i] === 0) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
col[i] = Math.log10(col[i] * TimeScaleFactor);
|
col[i] = Math.log10(col[i] * TimeScaleFactor);
|
||||||
|
|
Loading…
Reference in a new issue