Init Private vs Public properties (v2)

Revision 2 of this benchmark created on


Test runner

Ready to run.

Testing in
TestOps/sec
private field
class C { #pri; }
ready
public field
class C { pub; }
ready
pub in constructor
class C { 
  constructor() { this.pub = undefined; }
}
ready

Revisions

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