var vs obj

Benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
variable
let a = 'test'

let b = a;
ready
obj
let a = {
	b: 'test',
	c: 'sfsdfsdf',
	d: 'sfsdfsdf',
	e: 'sfsdfsdf',
	f: 'sfsdfsdf',
};

let b = a.b;
ready

Revisions

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