Math.log10 vs Math.log / Math.LN10

Benchmark created on


Preparation HTML

<script>
	const n = 323.514867;
</script>

Test runner

Ready to run.

Testing in
TestOps/sec
Math.log10
const r = Math.log10(n);
ready
Math.log / Math.LN10
const r = Math.log(n) / Math.LN10;
ready

Revisions

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