98 lines
9.1 KiB
XML
98 lines
9.1 KiB
XML
<svg class="nj-fig nj-charts nj-charts--blog" viewBox="0 0 560 604" role="img" aria-labelledby="nj-blog-overview nj-blog-overview-d" xmlns="http://www.w3.org/2000/svg">
|
|
<title id="nj-blog-overview">Speedup of 3.13.0 over 3.12.0 per workload, Apple M1 Max, Apple clang</title>
|
|
<desc id="nj-blog-overview-d">Horizontal bars of the speedup, more is better. twitter.json 3.5x; citm_catalog.json 5.1x; canada.json 4.1x; canada.json, indented 7.4x; citm, ordered_json 8.2x; twitter, std::ifstream 2.5x; citm, FILE* 15x; citm, accept() 14x; dump() twitter 6.6x; dump() canada 2.9x; dump(4) citm 4.6x; to_cbor() twitter 4.4x; twitter, memory 3.5x; twitter, FILE* 9.2x; diff() canada 10x; iterate canada 1.96x; copy + destroy citm 1.11x; == citm 1.01x.</desc>
|
|
<text class="nj-charts-panel" x="8" y="20">Parsing</text>
|
|
<text class="nj-charts-panel" x="8" y="244">Writing</text>
|
|
<text class="nj-charts-panel" x="8" y="372">Reading C​BOR</text>
|
|
<text class="nj-charts-panel" x="8" y="452">Values</text>
|
|
<line class="nj-charts-grid" x1="210.625" y1="8" x2="210.625" y2="560"/>
|
|
<text class="nj-charts-tick" x="210.625" y="576">1×</text>
|
|
<line class="nj-charts-grid" x1="231.25" y1="8" x2="231.25" y2="560"/>
|
|
<text class="nj-charts-tick" x="231.25" y="576">2×</text>
|
|
<line class="nj-charts-grid" x1="251.875" y1="8" x2="251.875" y2="560"/>
|
|
<text class="nj-charts-tick" x="251.875" y="576">3×</text>
|
|
<line class="nj-charts-grid" x1="272.5" y1="8" x2="272.5" y2="560"/>
|
|
<text class="nj-charts-tick" x="272.5" y="576">4×</text>
|
|
<line class="nj-charts-grid" x1="293.125" y1="8" x2="293.125" y2="560"/>
|
|
<text class="nj-charts-tick" x="293.125" y="576">5×</text>
|
|
<line class="nj-charts-grid" x1="313.75" y1="8" x2="313.75" y2="560"/>
|
|
<text class="nj-charts-tick" x="313.75" y="576">6×</text>
|
|
<line class="nj-charts-grid" x1="334.375" y1="8" x2="334.375" y2="560"/>
|
|
<text class="nj-charts-tick" x="334.375" y="576">7×</text>
|
|
<line class="nj-charts-grid" x1="355" y1="8" x2="355" y2="560"/>
|
|
<text class="nj-charts-tick" x="355" y="576">8×</text>
|
|
<line class="nj-charts-grid" x1="375.625" y1="8" x2="375.625" y2="560"/>
|
|
<text class="nj-charts-tick" x="375.625" y="576">9×</text>
|
|
<line class="nj-charts-grid" x1="396.25" y1="8" x2="396.25" y2="560"/>
|
|
<text class="nj-charts-tick" x="396.25" y="576">10×</text>
|
|
<line class="nj-charts-grid" x1="416.875" y1="8" x2="416.875" y2="560"/>
|
|
<text class="nj-charts-tick" x="416.875" y="576">11×</text>
|
|
<line class="nj-charts-grid" x1="437.5" y1="8" x2="437.5" y2="560"/>
|
|
<text class="nj-charts-tick" x="437.5" y="576">12×</text>
|
|
<line class="nj-charts-grid" x1="458.125" y1="8" x2="458.125" y2="560"/>
|
|
<text class="nj-charts-tick" x="458.125" y="576">13×</text>
|
|
<line class="nj-charts-grid" x1="478.75" y1="8" x2="478.75" y2="560"/>
|
|
<text class="nj-charts-tick" x="478.75" y="576">14×</text>
|
|
<line class="nj-charts-grid" x1="499.375" y1="8" x2="499.375" y2="560"/>
|
|
<text class="nj-charts-tick" x="499.375" y="576">15×</text>
|
|
<line class="nj-charts-grid" x1="520" y1="8" x2="520" y2="560"/>
|
|
<text class="nj-charts-tick" x="520" y="576">16×</text>
|
|
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="42" text-anchor="end">twitter.json</text>
|
|
<path class="nj-charts-c1" d="M190 30 H257.981 Q261.981 30 261.981 34 V41 Q261.981 45 257.981 45 H190 Z"><title>twitter.json: 3.5×</title></path>
|
|
<text class="nj-charts-val" x="266.981" y="42">3.5×</text>
|
|
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="66" text-anchor="end">citm_catalog.json</text>
|
|
<path class="nj-charts-c1" d="M190 54 H291.394 Q295.394 54 295.394 58 V65 Q295.394 69 291.394 69 H190 Z"><title>citm_catalog.json: 5.1×</title></path>
|
|
<text class="nj-charts-val" x="300.394" y="66">5.1×</text>
|
|
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="90" text-anchor="end">canada.json</text>
|
|
<path class="nj-charts-c1" d="M190 78 H270.15 Q274.15 78 274.15 82 V89 Q274.15 93 270.15 93 H190 Z"><title>canada.json: 4.1×</title></path>
|
|
<text class="nj-charts-val" x="279.15" y="90">4.1×</text>
|
|
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="114" text-anchor="end">canada.json, indented</text>
|
|
<path class="nj-charts-c1" d="M190 102 H338.831 Q342.831 102 342.831 106 V113 Q342.831 117 338.831 117 H190 Z"><title>canada.json, indented: 7.4×</title></path>
|
|
<text class="nj-charts-val" x="347.831" y="114">7.4×</text>
|
|
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="138" text-anchor="end">citm, ordered_json</text>
|
|
<path class="nj-charts-c1" d="M190 126 H354.712 Q358.712 126 358.712 130 V137 Q358.712 141 354.712 141 H190 Z"><title>citm, ordered_json: 8.2×</title></path>
|
|
<text class="nj-charts-val" x="363.712" y="138">8.2×</text>
|
|
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="162" text-anchor="end">twitter, std::ifstream</text>
|
|
<path class="nj-charts-c1" d="M190 150 H236.738 Q240.738 150 240.738 154 V161 Q240.738 165 236.738 165 H190 Z"><title>twitter, std::ifstream: 2.5×</title></path>
|
|
<text class="nj-charts-val" x="245.738" y="162">2.5×</text>
|
|
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="186" text-anchor="end">citm, FILE*</text>
|
|
<path class="nj-charts-c1" d="M190 174 H494.137 Q498.137 174 498.137 178 V185 Q498.137 189 494.137 189 H190 Z"><title>citm, FILE*: 15×</title></path>
|
|
<text class="nj-charts-val" x="503.137" y="186">15×</text>
|
|
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="210" text-anchor="end">citm, accept()</text>
|
|
<path class="nj-charts-c1" d="M190 198 H467.738 Q471.738 198 471.738 202 V209 Q471.738 213 467.738 213 H190 Z"><title>citm, accept(): 14×</title></path>
|
|
<text class="nj-charts-val" x="476.738" y="210">14×</text>
|
|
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="266" text-anchor="end">dump() twitter</text>
|
|
<path class="nj-charts-c1" d="M190 254 H322.125 Q326.125 254 326.125 258 V265 Q326.125 269 322.125 269 H190 Z"><title>dump() twitter: 6.6×</title></path>
|
|
<text class="nj-charts-val" x="331.125" y="266">6.6×</text>
|
|
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="290" text-anchor="end">dump() canada</text>
|
|
<path class="nj-charts-c1" d="M190 278 H245.812 Q249.812 278 249.812 282 V289 Q249.812 293 245.812 293 H190 Z"><title>dump() canada: 2.9×</title></path>
|
|
<text class="nj-charts-val" x="254.812" y="290">2.9×</text>
|
|
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="314" text-anchor="end">dump(4) citm</text>
|
|
<path class="nj-charts-c1" d="M190 302 H281.288 Q285.288 302 285.288 306 V313 Q285.288 317 281.288 317 H190 Z"><title>dump(4) citm: 4.6×</title></path>
|
|
<text class="nj-charts-val" x="290.288" y="314">4.6×</text>
|
|
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="338" text-anchor="end">to_cbor() twitter</text>
|
|
<path class="nj-charts-c1" d="M190 326 H276.956 Q280.956 326 280.956 330 V337 Q280.956 341 276.956 341 H190 Z"><title>to_cbor() twitter: 4.4×</title></path>
|
|
<text class="nj-charts-val" x="285.956" y="338">4.4×</text>
|
|
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="394" text-anchor="end">twitter, memory</text>
|
|
<path class="nj-charts-c1" d="M190 382 H258.6 Q262.6 382 262.6 386 V393 Q262.6 397 258.6 397 H190 Z"><title>twitter, memory: 3.5×</title></path>
|
|
<text class="nj-charts-val" x="267.6" y="394">3.5×</text>
|
|
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="418" text-anchor="end">twitter, FILE*</text>
|
|
<path class="nj-charts-c1" d="M190 406 H376.369 Q380.369 406 380.369 410 V417 Q380.369 421 376.369 421 H190 Z"><title>twitter, FILE*: 9.2×</title></path>
|
|
<text class="nj-charts-val" x="385.369" y="418">9.2×</text>
|
|
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="474" text-anchor="end">diff() canada</text>
|
|
<path class="nj-charts-c1" d="M190 462 H401.325 Q405.325 462 405.325 466 V473 Q405.325 477 401.325 477 H190 Z"><title>diff() canada: 10×</title></path>
|
|
<text class="nj-charts-val" x="410.325" y="474">10×</text>
|
|
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="498" text-anchor="end">iterate canada</text>
|
|
<path class="nj-charts-c1" d="M190 486 H226.425 Q230.425 486 230.425 490 V497 Q230.425 501 226.425 501 H190 Z"><title>iterate canada: 1.96×</title></path>
|
|
<text class="nj-charts-val" x="235.425" y="498">1.96×</text>
|
|
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="522" text-anchor="end">copy + destroy citm</text>
|
|
<path class="nj-charts-c1" d="M190 510 H208.894 Q212.894 510 212.894 514 V521 Q212.894 525 208.894 525 H190 Z"><title>copy + destroy citm: 1.11×</title></path>
|
|
<text class="nj-charts-val" x="217.894" y="522">1.11×</text>
|
|
<text class="nj-charts-rowlabel nj-charts-tick--r" x="182" y="546" text-anchor="end">== citm</text>
|
|
<path class="nj-charts-c1" d="M190 534 H206.831 Q210.831 534 210.831 538 V545 Q210.831 549 206.831 549 H190 Z"><title>== citm: 1.01×</title></path>
|
|
<text class="nj-charts-val" x="215.831" y="546">1.01×</text>
|
|
<line class="nj-charts-ref" x1="210.625" y1="8" x2="210.625" y2="560"/>
|
|
<line class="nj-charts-zero" x1="190" y1="8" x2="190" y2="560"/>
|
|
<text class="nj-charts-tick" x="355" y="594">speedup over 3.12.0 (3.12.0 = 1×), more is better</text>
|
|
</svg>
|