Test case name | Result |
---|---|
Constructor parameters | |
Constructor object | |
Factory function with object | |
Factory function with definition and parameters |
Test name | Executions per second |
---|---|
Constructor parameters | 167.4 Ops/sec |
Constructor object | 50.8 Ops/sec |
Factory function with object | 131.5 Ops/sec |
Factory function with definition and parameters | 149.1 Ops/sec |