Closed nolanlawson closed 8 months ago
Version | Avg time | vs this-change | vs tip-of-tree tip-of-tree |
---|---|---|---|
this-change | 54.78ms - 56.34ms | - | unsure 🔍 -1% - +2% -0.74ms - +1.20ms |
tip-of-tree tip-of-tree | 54.76ms - 55.90ms | unsure 🔍 -2% - +1% -1.20ms - +0.74ms | - |
Version | Avg time | vs this-change | vs tip-of-tree tip-of-tree |
---|---|---|---|
this-change | 102.40ms - 111.00ms | - | unsure 🔍 -4% - +7% -4.59ms - +7.00ms |
tip-of-tree tip-of-tree | 101.61ms - 109.38ms | unsure 🔍 -7% - +4% -7.00ms - +4.59ms | - |
Version | Avg time | vs this-change | vs tip-of-tree tip-of-tree |
---|---|---|---|
this-change | 52.29ms - 56.52ms | - | unsure 🔍 -5% - +7% -2.44ms - +3.65ms |
tip-of-tree tip-of-tree | 51.61ms - 55.99ms | unsure 🔍 -7% - +4% -3.65ms - +2.44ms | - |
Version | Avg time | vs this-change | vs tip-of-tree tip-of-tree |
---|---|---|---|
this-change | 49.86ms - 51.27ms | - | unsure 🔍 -0% - +2% -0.25ms - +1.16ms |
tip-of-tree tip-of-tree | 50.07ms - 50.15ms | unsure 🔍 -2% - +0% -1.16ms - +0.25ms | - |
Version | Avg time | vs this-change | vs tip-of-tree tip-of-tree |
---|---|---|---|
this-change | 41.79ms - 43.86ms | - | unsure 🔍 -5% - +2% -2.24ms - +0.84ms |
tip-of-tree tip-of-tree | 42.38ms - 44.67ms | unsure 🔍 -2% - +5% -0.84ms - +2.24ms | - |
Size Change: +7.34 kB (+17%) ⚠️
Total Size: 50.1 kB
Filename | Size | Change | |
---|---|---|---|
./bundle.js |
50.1 kB | +7.34 kB (+17%) | ⚠️ |
I like the idea of snippets, but they don't seem to work yet.
Sadly the bundle size has increased significantly, and the Tachometer tests don't show a significant improvement.
Got snippets working, got the size down to +15% using hacks.
Memory usage baseline:
| Scenario | Bytes | Relative to blank page |
| -------- | ----------------- | ---------------------- |
| blank | 380 kB (379592) | 0 B (0) |
| picker | 1.23 MB (1228824) | 849 kB (849232) |
| compact | 1.11 MB (1108494) | 729 kB (728902) |
| full | 1.38 MB (1379992) | 1 MB (1000400) |
Memory usage:
| Scenario | Bytes | Relative to blank page |
| -------- | ----------------- | ---------------------- |
| blank | 380 kB (379572) | 0 B (0) |
| picker | 1.49 MB (1494441) | 1.11 MB (1114869) |
| compact | 1.11 MB (1108494) | 729 kB (728922) |
| full | 1.37 MB (1366930) | 987 kB (987358) |
Hm, sadly Safari 12 support seems broken due to the use of ?.
(optional chaining).
Caniuse has Safari 12 usage at around 0.5%, Wikimedia has it at 0.25%.
Updated memory numbers with Chrome 120:
Baseline:
Scenario | Bytes | Relative to blank page |
---|---|---|
blank | 388 kB (387700) | 0 B (0) |
picker | 1.23 MB (1228916) | 841 kB (841216) |
compact | 1.11 MB (1108494) | 721 kB (720794) |
full | 1.38 MB (1379992) | 992 kB (992292) |
This PR:
Scenario | Bytes | Relative to blank page |
---|---|---|
blank | 380 kB (379572) | 0 B (0) |
picker | 1.5 MB (1495097) | 1.12 MB (1115525) |
compact | 1.11 MB (1108494) | 729 kB (728922) |
full | 1.38 MB (1379992) | 1 MB (1000420) |
See #381, I decided to yolo and switch to a custom framework instead
It's way too early to do this, but I did want to kick the tires on it at least