ef.js

Declarative DOM helper experiment

  1. 1
  2. 2
  3. 3
  4. 4
  5. 5
  6. 6
  7. 7
  8. 8
  9. 9
  10. 10
  11. 11
  12. 12
  13. 13
  14. 14
  15. 15
  16. 16
  17. 17
  18. 18
  19. 19
# bench/js

These are micro benchmark mainly for decision making.

While those provides some level of performance metrics, the final decision or change should be based on integrated measurement.
JS engines, especially JavaScriptCore, add performance penalty to later `bench` calls.
See <https://github.com/evanwashere/mitata?tab=readme-ov-file#jit-bias> for more info.

## Running micro benchmark

Replace `all.js` for specific filename for isolated benchmark.

```sh
# JSC
bun bench/micro/all.js

# V8
node bench/micro/all.js
```