date-vergleich

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
gettime
for (var j = 0; j < 10000000; j++) {
	let ad = new Date();
    let bd = new Date();
    let yyy = ad.getTime() < bd.getTime();
}
ready
ohne
for (var j = 0; j < 10000000; j++) {
	let ad = new Date();
    let bd = new Date();
    let yyy = ad < bd;
}
ready

Revisions

You can edit these tests or add more tests to this page by appending /edit to the URL.