Skip to content

Commit f743b91

Browse files
piecykclaude
andcommitted
chore: record print redraw bundle costs and refresh artifacts
Refresh the comparison bundle baseline and comparison page for the rebased print redraw commit, and the catalog preview fingerprint. Mark F-316 resolved by #230. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 82da08b commit f743b91

5 files changed

Lines changed: 80 additions & 77 deletions

File tree

‎API-FRICTION.md‎

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ Each entry records:
352352
| F-313 | Initial observer precision cancelled entrance motion | Tooling | resolved |
353353
| F-314 | Framework ticks and immediate focus layers were unclear | Documentation | resolved |
354354
| F-315 | Printed charts kept their screen width | API | resolved |
355-
| F-316 | Catalog previews depend on the local time zone | Tooling | open |
355+
| F-316 | Catalog previews depend on the local time zone | Tooling | resolved |
356356

357357
## Findings
358358

@@ -9372,14 +9372,17 @@ Each entry records:
93729372

93739373
### F-316 - Catalog previews depend on the local time zone
93749374

9375-
- Status: open
9375+
- Status: resolved
93769376
- Severity: low
93779377
- Owner: Tooling
93789378
- Observed in: refreshing the preview fingerprint for the print redraw change.
93799379
`pnpm catalog:previews` in Europe/Warsaw, and again with `TZ=UTC`, shifted
93809380
the weekday labels of nine shadcn tooltip previews by one day. The committed
9381-
previews were generated west of UTC.
9381+
previews had been generated west of UTC.
93829382
- Workaround: keep the committed SVGs and their manifest records, and commit
93839383
only the new `sourceHash`.
9384-
- Follow-up: generate previews with a fixed time zone, or format those labels
9385-
in UTC, so regeneration is reproducible on any machine.
9384+
- Decision: #230 pins preview generation to UTC and regenerates the affected
9385+
previews.
9386+
- Verification: on top of #230, `pnpm catalog:previews` in Europe/Warsaw
9387+
reproduced all 188 SVGs from `main` byte for byte. Only `sourceHash` changed,
9388+
and `pnpm catalog:previews:check` passes.

‎benchmarks/comparison/bundle-baseline.json‎

Lines changed: 63 additions & 63 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"schemaVersion": 4,
3-
"generatedAt": "2026-10-14T04:50:28.604Z",
3+
"generatedAt": "2026-10-16T16:48:15.255Z",
44
"packageVersions": {
55
"tanstack": "1.1.0",
66
"chartjs": "4.5.1",
@@ -11,8 +11,8 @@
1111
"sources": {
1212
"tanstack": {
1313
"kind": "workspace",
14-
"revision": "69d70960dd6b29f3706a173d348f2fc8271b0dcc",
15-
"inputDigest": "sha256:80f5c5447f39757715be5def33eed28b12869946936369671243436701fb7964"
14+
"revision": "255db65bc31609387da2bac974f4aa7df0810280",
15+
"inputDigest": "sha256:c0840e905be2f2eac417b4d3bce67050f63c999403e50a78eac6a7f11d0b3674"
1616
},
1717
"chartjs": {
1818
"kind": "package",
@@ -45,88 +45,88 @@
4545
},
4646
"bundles": {
4747
"tanstack-line-basic": {
48-
"minifiedBytes": 119266,
49-
"gzipBytes": 43213,
50-
"brotliBytes": 38182,
51-
"incrementalGzipBytes": 43213,
52-
"incrementalBrotliBytes": 38182
48+
"minifiedBytes": 119409,
49+
"gzipBytes": 43265,
50+
"brotliBytes": 38232,
51+
"incrementalGzipBytes": 43265,
52+
"incrementalBrotliBytes": 38232
5353
},
5454
"tanstack-line-interactive": {
55-
"minifiedBytes": 125013,
56-
"gzipBytes": 45122,
57-
"brotliBytes": 39724,
58-
"incrementalGzipBytes": 45122,
59-
"incrementalBrotliBytes": 39724
55+
"minifiedBytes": 125160,
56+
"gzipBytes": 45182,
57+
"brotliBytes": 39762,
58+
"incrementalGzipBytes": 45182,
59+
"incrementalBrotliBytes": 39762
6060
},
6161
"tanstack-line-advanced": {
62-
"minifiedBytes": 132209,
63-
"gzipBytes": 47460,
64-
"brotliBytes": 41713,
65-
"incrementalGzipBytes": 47460,
66-
"incrementalBrotliBytes": 41713
62+
"minifiedBytes": 132352,
63+
"gzipBytes": 47502,
64+
"brotliBytes": 41858,
65+
"incrementalGzipBytes": 47502,
66+
"incrementalBrotliBytes": 41858
6767
},
6868
"tanstack-bar-basic": {
69-
"minifiedBytes": 131703,
70-
"gzipBytes": 47916,
71-
"brotliBytes": 42081,
72-
"incrementalGzipBytes": 47916,
73-
"incrementalBrotliBytes": 42081
69+
"minifiedBytes": 131846,
70+
"gzipBytes": 47971,
71+
"brotliBytes": 42179,
72+
"incrementalGzipBytes": 47971,
73+
"incrementalBrotliBytes": 42179
7474
},
7575
"tanstack-bar-interactive": {
76-
"minifiedBytes": 136309,
77-
"gzipBytes": 49311,
78-
"brotliBytes": 43248,
79-
"incrementalGzipBytes": 49311,
80-
"incrementalBrotliBytes": 43248
76+
"minifiedBytes": 136452,
77+
"gzipBytes": 49358,
78+
"brotliBytes": 43285,
79+
"incrementalGzipBytes": 49358,
80+
"incrementalBrotliBytes": 43285
8181
},
8282
"tanstack-bar-advanced": {
83-
"minifiedBytes": 136648,
84-
"gzipBytes": 49455,
85-
"brotliBytes": 43379,
86-
"incrementalGzipBytes": 49455,
87-
"incrementalBrotliBytes": 43379
83+
"minifiedBytes": 136791,
84+
"gzipBytes": 49496,
85+
"brotliBytes": 43465,
86+
"incrementalGzipBytes": 49496,
87+
"incrementalBrotliBytes": 43465
8888
},
8989
"tanstack-area-basic": {
90-
"minifiedBytes": 124446,
91-
"gzipBytes": 45243,
92-
"brotliBytes": 39958,
93-
"incrementalGzipBytes": 45243,
94-
"incrementalBrotliBytes": 39958
90+
"minifiedBytes": 124589,
91+
"gzipBytes": 45307,
92+
"brotliBytes": 40026,
93+
"incrementalGzipBytes": 45307,
94+
"incrementalBrotliBytes": 40026
9595
},
9696
"tanstack-area-interactive": {
97-
"minifiedBytes": 130201,
98-
"gzipBytes": 47092,
99-
"brotliBytes": 41523,
100-
"incrementalGzipBytes": 47092,
101-
"incrementalBrotliBytes": 41523
97+
"minifiedBytes": 130344,
98+
"gzipBytes": 47139,
99+
"brotliBytes": 41579,
100+
"incrementalGzipBytes": 47139,
101+
"incrementalBrotliBytes": 41579
102102
},
103103
"tanstack-area-advanced": {
104-
"minifiedBytes": 137573,
105-
"gzipBytes": 49501,
106-
"brotliBytes": 43577,
107-
"incrementalGzipBytes": 49501,
108-
"incrementalBrotliBytes": 43577
104+
"minifiedBytes": 137716,
105+
"gzipBytes": 49551,
106+
"brotliBytes": 43615,
107+
"incrementalGzipBytes": 49551,
108+
"incrementalBrotliBytes": 43615
109109
},
110110
"tanstack-scatter-basic": {
111-
"minifiedBytes": 120319,
112-
"gzipBytes": 43574,
113-
"brotliBytes": 38528,
114-
"incrementalGzipBytes": 43574,
115-
"incrementalBrotliBytes": 38528
111+
"minifiedBytes": 120462,
112+
"gzipBytes": 43637,
113+
"brotliBytes": 38573,
114+
"incrementalGzipBytes": 43637,
115+
"incrementalBrotliBytes": 38573
116116
},
117117
"tanstack-scatter-interactive": {
118-
"minifiedBytes": 126070,
119-
"gzipBytes": 45472,
120-
"brotliBytes": 40050,
121-
"incrementalGzipBytes": 45472,
122-
"incrementalBrotliBytes": 40050
118+
"minifiedBytes": 126213,
119+
"gzipBytes": 45544,
120+
"brotliBytes": 40150,
121+
"incrementalGzipBytes": 45544,
122+
"incrementalBrotliBytes": 40150
123123
},
124124
"tanstack-scatter-advanced": {
125-
"minifiedBytes": 126086,
126-
"gzipBytes": 45479,
127-
"brotliBytes": 40072,
128-
"incrementalGzipBytes": 45479,
129-
"incrementalBrotliBytes": 40072
125+
"minifiedBytes": 126229,
126+
"gzipBytes": 45549,
127+
"brotliBytes": 40099,
128+
"incrementalGzipBytes": 45549,
129+
"incrementalBrotliBytes": 40099
130130
},
131131
"chartjs-line-basic": {
132132
"minifiedBytes": 137909,

‎benchmarks/conformance/previews/manifest.json‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"schemaVersion": 1,
33
"width": 288,
44
"height": 192,
5-
"sourceHash": "e62990d1bc2ce6a38a60f900c2f8c32d8048c57ccd11c5be4f8d673ec9fcb9ad",
5+
"sourceHash": "37d5c492d43c8a93198eed15cb81078a89e1556d6a3a4b66dd0d302ace17efb9",
66
"assets": [
77
{
88
"id": "01-line-gaps",

‎docs/comparison.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ turning untested behavior into a checkmark.
1212

1313
| Library | Package | Measured source |
1414
| -------------------------------------------------------------------------------------- | -------------------- | ------------------- |
15-
| [TanStack Charts](./overview.md) | `@tanstack/charts` | workspace `69d7096` |
15+
| [TanStack Charts](./overview.md) | `@tanstack/charts` | workspace `255db65` |
1616
| [Chart.js](https://www.chartjs.org/docs/latest/) | `chart.js` | npm `4.5.1` |
1717
| [Apache ECharts](https://echarts.apache.org/handbook/en/best-practices/canvas-vs-svg/) | `echarts` | npm `6.1.0` |
1818
| [Recharts](https://recharts.github.io/en-US/) | `recharts` | npm `3.10.1` |
1919
| [Observable Plot](https://observablehq.com/plot/features/plots) | `@observablehq/plot` | npm `0.6.17` |
2020

2121
The competitor versions are exact package pins, not latest versions inferred
22-
at page render time. The measured TanStack workspace revision is `69d7096`.
22+
at page render time. The measured TanStack workspace revision is `255db65`.
2323

2424
## Capability matrix
2525

@@ -90,7 +90,7 @@ output model.
9090

9191
## Bundle snapshot
9292

93-
Baseline date: `2026-10-14`.
93+
Baseline date: `2026-10-16`.
9494

9595
Controlled ranges cover 12 independently built, minified browser consumers:
9696
line, bar, area, and scatter at basic, interactive, and advanced tiers. Only
@@ -106,7 +106,7 @@ Vega-Lite, AG Charts, and uPlot main exports were read from Bundlephobia on July
106106

107107
| Library | Bundle size | React externalized | Evidence |
108108
| ------------------ | -------------------------------------- | -------------------: | ---------------------------------------------------------- |
109-
| TanStack Charts | 43.21–49.50 kB gzip | Not applicable | Controlled suite |
109+
| TanStack Charts | 43.27–49.55 kB gzip | Not applicable | Controlled suite |
110110
| D3 | 90 KB gzip | — | External main export |
111111
| Chart.js | 45.78–59.61 kB gzip | — | Controlled suite |
112112
| Apache ECharts | 156.77–177.34 kB gzip | — | Controlled suite |

‎packages/charts-core/docs/comparison.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ turning untested behavior into a checkmark.
1212

1313
| Library | Package | Measured source |
1414
| -------------------------------------------------------------------------------------- | -------------------- | ------------------- |
15-
| [TanStack Charts](./overview.md) | `@tanstack/charts` | workspace `69d7096` |
15+
| [TanStack Charts](./overview.md) | `@tanstack/charts` | workspace `255db65` |
1616
| [Chart.js](https://www.chartjs.org/docs/latest/) | `chart.js` | npm `4.5.1` |
1717
| [Apache ECharts](https://echarts.apache.org/handbook/en/best-practices/canvas-vs-svg/) | `echarts` | npm `6.1.0` |
1818
| [Recharts](https://recharts.github.io/en-US/) | `recharts` | npm `3.10.1` |
1919
| [Observable Plot](https://observablehq.com/plot/features/plots) | `@observablehq/plot` | npm `0.6.17` |
2020

2121
The competitor versions are exact package pins, not latest versions inferred
22-
at page render time. The measured TanStack workspace revision is `69d7096`.
22+
at page render time. The measured TanStack workspace revision is `255db65`.
2323

2424
## Capability matrix
2525

@@ -90,7 +90,7 @@ output model.
9090

9191
## Bundle snapshot
9292

93-
Baseline date: `2026-10-14`.
93+
Baseline date: `2026-10-16`.
9494

9595
Controlled ranges cover 12 independently built, minified browser consumers:
9696
line, bar, area, and scatter at basic, interactive, and advanced tiers. Only
@@ -106,7 +106,7 @@ Vega-Lite, AG Charts, and uPlot main exports were read from Bundlephobia on July
106106

107107
| Library | Bundle size | React externalized | Evidence |
108108
| ------------------ | -------------------------------------- | -------------------: | ---------------------------------------------------------- |
109-
| TanStack Charts | 43.21–49.50 kB gzip | Not applicable | Controlled suite |
109+
| TanStack Charts | 43.27–49.55 kB gzip | Not applicable | Controlled suite |
110110
| D3 | 90 KB gzip | — | External main export |
111111
| Chart.js | 45.78–59.61 kB gzip | — | Controlled suite |
112112
| Apache ECharts | 156.77–177.34 kB gzip | — | Controlled suite |

0 commit comments

Comments
 (0)