Commit fbc23cf
authored
chore(benchmarks): re-measure the committed datasets and the deck that renders them (#466)
* chore(benchmarks): re-measure the committed datasets and the deck that renders them
Both committed result files predated the 2.x line. The comparative snapshot the
flagship deck renders had one commit in its entire history, taken on the 1.7.1
codebase, and the perf baseline was captured a week before that — while the deck
PDFs built from them were re-committed at every release, so freshly dated assets
carried figures from a codebase two minor versions behind.
Re-measured on one quiet machine: five current-speed runs aggregated to a median
for the baseline, and one comparative run for the deck.
The ratios moved, and unlike absolute timings they compare across machines
because both libraries are measured in the same run. At 1000 rows the advantage
over iText 9 reads 4.54x on time and 3.56x on allocation, where the published
snapshot said 5.38x and 4.19x; part of that is iText moving 9.6.0 -> 9.7.0 after
the snapshot was taken. Against JasperReports, whose version is unchanged, the
gap at 1000 rows is now 1.1%.
The deck's own footnotes are corrected while they are being regenerated: one
still asked for a refresh "on the final 2.0 commit" two releases after 2.0
shipped, and the summary line still spoke for 2.0 alone. Both now say what the
data is — one machine, one run, ratios that travel and timings that do not.
Layout snapshot re-recorded for the reworded footnotes; the figures alone did
not move it, because every value kept its digit count and the auto-width columns
kept their widths.
* docs(examples): correct the deck's class javadoc alongside its slides
The class javadoc carried the same stale instruction the slides did - refresh
data and provenance "on the release commit" for a 2.0 asset, two releases after
2.0 shipped - and it also described the scaling iteration metadata as missing
from a "historical file" rather than as covering only one tier, which is what
the format actually does.
It now says what the slides say: read the ratios rather than the timings,
because both libraries are measured in the same run and their proportions
survive a change of machine while the milliseconds do not.
* fix(examples): the deck called the PPTX backend a manifest skeleton
render-pptx ships two backends: PptxSemanticBackend, the slide-safe skeleton,
and PptxFixedLayoutBackend, which implements FixedLayoutRenderer and is
discovered through FixedLayoutBackendProvider exactly as the PDF backend is.
The module table listed render-pptx as "manifest only" and the architecture
proof card said PPTX was a skeleton, contradicting the deck's own first page,
which already labels render-pptx "fixed layout", and the capability matrix,
which gives PPTX (fixed) a column beside PDF.
The deck is republished by this change, so it was about to carry that
understatement of the engine's own capability into the release assets again.1 parent e7b357c commit fbc23cf
8 files changed
Lines changed: 143 additions & 106 deletions
File tree
- assets/readme/examples
- baselines
- examples/src
- main
- java/com/demcha/examples/flagships
- resources/benchmarks
- test/resources/layout-snapshots/flagships
- web/showcase/pdf/flagships/default
Binary file not shown.
Binary file not shown.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
68 | 97 | | |
69 | 98 | | |
70 | 99 | | |
71 | 100 | | |
72 | 101 | | |
73 | | - | |
74 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
75 | 110 | | |
76 | 111 | | |
77 | 112 | | |
78 | 113 | | |
79 | | - | |
80 | | - | |
| 114 | + | |
| 115 | + | |
81 | 116 | | |
82 | 117 | | |
83 | 118 | | |
84 | 119 | | |
85 | | - | |
86 | | - | |
| 120 | + | |
| 121 | + | |
87 | 122 | | |
88 | 123 | | |
89 | 124 | | |
90 | 125 | | |
91 | | - | |
92 | | - | |
| 126 | + | |
| 127 | + | |
93 | 128 | | |
94 | | - | |
| 129 | + | |
95 | 130 | | |
96 | 131 | | |
97 | | - | |
| 132 | + | |
98 | 133 | | |
Lines changed: 12 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
70 | | - | |
71 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| |||
488 | 490 | | |
489 | 491 | | |
490 | 492 | | |
491 | | - | |
| 493 | + | |
492 | 494 | | |
493 | 495 | | |
494 | 496 | | |
| |||
638 | 640 | | |
639 | 641 | | |
640 | 642 | | |
641 | | - | |
| 643 | + | |
642 | 644 | | |
643 | 645 | | |
644 | 646 | | |
| |||
702 | 704 | | |
703 | 705 | | |
704 | 706 | | |
705 | | - | |
706 | | - | |
707 | | - | |
| 707 | + | |
| 708 | + | |
| 709 | + | |
708 | 710 | | |
709 | 711 | | |
710 | 712 | | |
| |||
744 | 746 | | |
745 | 747 | | |
746 | 748 | | |
747 | | - | |
| 749 | + | |
748 | 750 | | |
749 | | - | |
| 751 | + | |
750 | 752 | | |
751 | 753 | | |
752 | 754 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
8 | | - | |
| 7 | + | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
15 | | - | |
16 | | - | |
| 15 | + | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
| 19 | + | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
| 23 | + | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
32 | | - | |
| 31 | + | |
| 32 | + | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
36 | | - | |
| 35 | + | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
40 | | - | |
| 39 | + | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
44 | | - | |
| 43 | + | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
48 | | - | |
| 47 | + | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
52 | | - | |
| 51 | + | |
| 52 | + | |
53 | 53 | | |
54 | 54 | | |
0 commit comments