Console Log with date test

Benchmark created on


Setup

const logWithDate = () => console.log(`${(new Date()).toString()} - Log with date`)

const logWithoutDate = () => console.log('Log without date');

Test runner

Ready to run.

Testing in
TestOps/sec
Logging with date
logWithDate();
ready
Logging without date
logWithoutDate();
ready

Revisions

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