In the browser
From the Playwright perf project against the demo app.
| Operation | Measured | Test budget |
|---|---|---|
| Create grid and group 100,000 rows (region › country) | 388 ms | 3,000 ms |
| Switch 100,000 rows to flat | 39 ms | 2,000 ms |
| Group 100,000 rows (region › country) | 50 ms | 2,000 ms |
| Pivot 100,000 rows (region × year › quarter, 2 values) | 44 ms | 2,000 ms |
| Build tree data over 100,000 rows | 128 ms | 3,000 ms |
| Export 100,000 rows to xlsx | 1,487 ms | 20,000 ms |
| Sort 100,000 rows by revenue | 76 ms | 2,000 ms |
| Generate 1,000,000 orders | 251 ms | 10,000 ms |
1,000,000-row, scheduler and Excel timings
| Operation | Measured | Test budget |
|---|---|---|
| Load 1,000,000 rows into the grid (sorted by revenue) | 1,493 ms | 10,000 ms |
| Sort 1,000,000 rows by units | 944 ms | 15,000 ms |
| Group 1,000,000 rows (region › country) | 1,671 ms | 10,000 ms |
| Pivot 1,000,000 rows | 1,182 ms | 10,000 ms |
| Render 300 technicians and 6,000 jobs | 34 ms | 2,000 ms |
| Re-lay out 6,000 jobs in another time zone | 7 ms | 2,000 ms |
| Write styled workbook (2 sheets, 5,030 rows) | 42 ms | 5,000 ms |
| Read it back | 34 ms | 5,000 ms |
Engine figures for all twelve packages
| Package | Measured |
|---|---|
| core (MIT) | 1M rows: numeric sort about 1.2 s, filter about 0.4 s, scroll frame under 3 ms (Node, under load) |
| grid-pro | Pivot 100k rows: about 90 ms (engine), 52–93 ms in Chrome; group 100k rows: 74–80 ms in Chrome |
| excel | 100k × 10 xlsx: write about 0.8 s, read about 0.6 s; refuses files that expand past a size limit; validated with openpyxl and LibreOffice |
| scheduler | 1k resources and 20k events: create 192 ms; 300 techs and 6k jobs render in 36–41 ms in Chrome |
| gantt | 5k tasks and 8k links: full CPM schedule 60–80 ms, incremental edit 8–14 ms |
| charts | 1M-point line: decimation 6–10 ms, first render about 42 ms in Chrome |
| pivot-studio | 1M rows × 3 row levels × 2 column levels × 3 measures: about 0.5–0.6 s |
| diagram | Layered layout of 1k nodes: about 50 ms; 5k nodes mount in about 120 ms |
| spreadsheet | 494 functions; 95.5% of 1,520 test results agree with LibreOffice; after an xlsx round trip of 10 test workbooks, LibreOffice shows 613 of 614 cells unchanged |
| document | 25 test DOCX files: all body text read in 21, at least 99.6% in the rest, and all 78 tables, counted with python-docx; all 25 convert to HTML in 0.4 s in Node |
| 2,000-page file: one annotation saved incrementally in 4 ms, checked with qpdf; text extraction matches pdf.js on 7 test files |
Machine and method
- Browser
- Chrome stable via Playwright, 1440 × 900, one test at a time
- Machine
- Our Linux workstation; CPU and memory listed before launch
- Timing
- performance.now() around each operation in the page
- File checks
- Other software opens the files we write: LibreOffice and openpyxl for xlsx; LibreOffice, python-docx and Apache POI for DOCX; qpdf and poppler for PDF; openssl for signatures. Not yet opened in Microsoft Office or Adobe Acrobat.
- Tests
- 2,550 automated tests and 94 real-browser tests pass
Reproduce them
From the repository root. Your machine will differ.
- Install
npm ci- Engine perf tests
npm run test:perf- Chrome timings
npx playwright test -c e2e/playwright.config.ts --project=perf- Results
e2e/results/timings.json