krofdrakula
Recently upgraded `deno` and am on a newer version than is available
Looks like there might have been a problem when publishing versions; when I ran
deno upgrade
recently, it upgraded my deno
version to 2.4.0
, but it looks like the real latest version is 2.3.1
and the version was supposed to be 2.3.0
when that update went out. Is there anything I should be worried about since deno --version
currently reports 2.4.0
when it comes to future releases? Using deno upgrade 2.3.0
didn't install the previous version, it kept it at 2.4.0
. I'm using the stable channel.3 replies
Setting up complex values for `Deno.bench` function runs
i'm currently exploring the
bench
tools in Deno and have come across a case where i can't seem to be able to implement.
in the simplest case, let's say we wanted to compare two functions that mutate a given array, but that array is nontrivially large:
the problem with these benches is that they build the data within the benchmark function, which i do not want to measure as part of the benchmark.
i couldn't find an analog prerun
function in the docs, is there a way to pass data created outside the measured function to it? something like:
9 replies