Null proto

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
__proto__
for(let i = 0; i < 1_000_000; i++) {
	const ali = { __proto__: null };
}
ready
create
for(let i = 0; i < 1_000_000; i++) {
	const ali = Object.create(null)
}
ready
{}
for(let i = 0; i < 1_000_000; i++) {
	const ali = {}
}
ready
map
for(let i = 0; i < 1_000_000; i++) {
	const ali = new Map()
}
ready

Revisions

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