tldraw/packages
Steve Ruiz b5c87ab876
Performance measurement tool (for unit tests) (#3447)
This PR adds a micro benchmarking utility. We can use it in our jest
tests or in random scripts, though given the other requirements of our
library, benchmarking.

<img width="750" alt="Screenshot 2024-04-11 at 2 44 23 PM"
src="https://github.com/tldraw/tldraw/assets/23072548/6bba07eb-65fd-45a2-abd8-ddd0e206b9fa">


## What this isn't

This is not benchmarking. The speeds etc are based on your machine.

## What this is

This is a tool for measuring / comparing different implementations etc.
Some things run much faster than others.

### Change Type

- [x] `sdk`
- [x] `internal`
2024-04-11 15:31:21 +00:00
..
assets ui: make toasts look more toasty (#2988) 2024-03-27 09:41:13 +00:00
editor Fix SVG exports in Next.js (#3446) 2024-04-11 14:02:05 +00:00
namespaced-tldraw use native structuredClone on node, cloudflare workers, and in tests (#3166) 2024-03-18 17:16:09 +00:00
state Add white migration (#3334) 2024-04-04 18:16:17 +00:00
store Improve hand dragging with long press (#3432) 2024-04-10 12:02:50 +00:00
tldraw Performance measurement tool (for unit tests) (#3447) 2024-04-11 15:31:21 +00:00
tlschema Display none for culled shapes (#3291) 2024-04-05 13:23:02 +00:00
tlsync Revert "squish sync data events before sending them out" (#3331) 2024-04-03 10:31:28 +01:00
utils Perf: slightly faster getShapeAtPoint (#3416) 2024-04-09 12:57:46 +00:00
validate React-powered SVG exports (#3117) 2024-03-25 14:16:55 +00:00