|
9364 | 9364 | pts: buffer[0].pts,
|
9365 | 9365 | dts: buffer[0].dts
|
9366 | 9366 | }; i < tagSize;)tag.data.set(buffer[0].data.subarray(0, tagSize - i), i), i += buffer[0].data.byteLength, bufferSize -= buffer[0].data.byteLength, buffer.shift();
|
9367 |
| - frameStart = 10, 0x40 & tag.data[5] && (frameStart = 4 + parseSyncSafeInteger$1(tag.data.subarray(10, 14)), tagSize -= parseSyncSafeInteger$1(tag.data.subarray(16, 20))); |
| 9367 | + frameStart = 10, 0x40 & tag.data[5] && (frameStart += 4 + parseSyncSafeInteger$1(tag.data.subarray(10, 14)), tagSize -= parseSyncSafeInteger$1(tag.data.subarray(16, 20))); |
9368 | 9368 | do {
|
9369 | 9369 | if ((frameSize = parseSyncSafeInteger$1(tag.data.subarray(frameStart + 4, frameStart + 8))) < 1) {
|
9370 | 9370 | this.trigger("log", {
|
|
9380 | 9380 | var d = frame.data, size = (0x01 & d[3]) << 30 | d[4] << 22 | d[5] << 14 | d[6] << 6 | d[7] >>> 2;
|
9381 | 9381 | size *= 4, size += 0x03 & d[7], frame.timeStamp = size, void 0 === tag.pts && void 0 === tag.dts && (tag.pts = frame.timeStamp, tag.dts = frame.timeStamp), this.trigger("timestamp", frame);
|
9382 | 9382 | }
|
9383 |
| - tag.frames.push(frame), frameStart = 10 + frameSize; |
| 9383 | + tag.frames.push(frame), frameStart += 10 + frameSize; |
9384 | 9384 | }while (frameStart < tagSize)
|
9385 | 9385 | this.trigger("data", tag);
|
9386 | 9386 | }
|
|
9920 | 9920 | },
|
9921 | 9921 | parseAacTimestamp: function(packet) {
|
9922 | 9922 | var frameStart, frameSize, frame;
|
9923 |
| - frameStart = 10, 0x40 & packet[5] && (frameStart = 4 + parseSyncSafeInteger(packet.subarray(10, 14))); |
| 9923 | + frameStart = 10, 0x40 & packet[5] && (frameStart += 4 + parseSyncSafeInteger(packet.subarray(10, 14))); |
9924 | 9924 | do {
|
9925 | 9925 | if ((frameSize = parseSyncSafeInteger(packet.subarray(frameStart + 4, frameStart + 8))) < 1) break;
|
9926 | 9926 | if ("PRIV" === String.fromCharCode(packet[frameStart], packet[frameStart + 1], packet[frameStart + 2], packet[frameStart + 3])) {
|
|
9933 | 9933 | break;
|
9934 | 9934 | }
|
9935 | 9935 | }
|
9936 |
| - frameStart = 10 + frameSize; |
| 9936 | + frameStart += 10 + frameSize; |
9937 | 9937 | }while (frameStart < packet.byteLength)
|
9938 | 9938 | return null;
|
9939 | 9939 | }
|
|
10244 | 10244 | return ("00" + value.toString(16)).slice(-2);
|
10245 | 10245 | }
|
10246 | 10246 | }, parseType_1 = function(buffer) {
|
10247 |
| - return String.fromCharCode(buffer[0]) + String.fromCharCode(buffer[1]) + String.fromCharCode(buffer[2]) + String.fromCharCode(buffer[3]); |
| 10247 | + return "" + (String.fromCharCode(buffer[0]) + String.fromCharCode(buffer[1]) + String.fromCharCode(buffer[2]) + String.fromCharCode(buffer[3])); |
10248 | 10248 | }, toUnsigned$2 = bin.toUnsigned, findBox_1 = function findBox(data, path) {
|
10249 | 10249 | var i, size, type, end, subresults, results = [];
|
10250 | 10250 | if (!path.length) return null;
|
|
1 commit comments
github-actions[bot] commentedon Nov 15, 2022
Benchmark
es/full/bugs-1
384386
ns/iter (± 27258
)359764
ns/iter (± 35638
)1.07
es/full/minify/libraries/antd
2157855976
ns/iter (± 154647760
)1859260645
ns/iter (± 50064656
)1.16
es/full/minify/libraries/d3
507326098
ns/iter (± 43450517
)407449725
ns/iter (± 22362328
)1.25
es/full/minify/libraries/echarts
1824283509
ns/iter (± 87224373
)1612858764
ns/iter (± 52492529
)1.13
es/full/minify/libraries/jquery
125674262
ns/iter (± 10270302
)100909663
ns/iter (± 11908356
)1.25
es/full/minify/libraries/lodash
161841571
ns/iter (± 23767299
)134324510
ns/iter (± 10291658
)1.20
es/full/minify/libraries/moment
68607780
ns/iter (± 9180227
)67175152
ns/iter (± 8010933
)1.02
es/full/minify/libraries/react
25933890
ns/iter (± 4050584
)21767308
ns/iter (± 633949
)1.19
es/full/minify/libraries/terser
350526660
ns/iter (± 27602752
)318945153
ns/iter (± 12126350
)1.10
es/full/minify/libraries/three
623627713
ns/iter (± 11338445
)575525366
ns/iter (± 33154379
)1.08
es/full/minify/libraries/typescript
3761569636
ns/iter (± 115227394
)3525404089
ns/iter (± 93756360
)1.07
es/full/minify/libraries/victory
911504195
ns/iter (± 73599321
)854009311
ns/iter (± 18508124
)1.07
es/full/minify/libraries/vue
185860561
ns/iter (± 21242771
)186769157
ns/iter (± 10795873
)1.00
es/full/codegen/es3
46380
ns/iter (± 14989
)35987
ns/iter (± 2947
)1.29
es/full/codegen/es5
40437
ns/iter (± 8242
)35271
ns/iter (± 2919
)1.15
es/full/codegen/es2015
39676
ns/iter (± 8266
)35398
ns/iter (± 2191
)1.12
es/full/codegen/es2016
37263
ns/iter (± 6019
)35354
ns/iter (± 3173
)1.05
es/full/codegen/es2017
40107
ns/iter (± 7901
)35284
ns/iter (± 2622
)1.14
es/full/codegen/es2018
38133
ns/iter (± 7170
)35578
ns/iter (± 4212
)1.07
es/full/codegen/es2019
40487
ns/iter (± 6505
)35800
ns/iter (± 3202
)1.13
es/full/codegen/es2020
42072
ns/iter (± 6483
)35466
ns/iter (± 3811
)1.19
es/full/all/es3
265106839
ns/iter (± 38190047
)217580563
ns/iter (± 21596484
)1.22
es/full/all/es5
244142811
ns/iter (± 32437808
)185495295
ns/iter (± 15440090
)1.32
es/full/all/es2015
192458130
ns/iter (± 34969575
)162503849
ns/iter (± 17551828
)1.18
es/full/all/es2016
198876122
ns/iter (± 26085312
)155546701
ns/iter (± 21213081
)1.28
es/full/all/es2017
195382082
ns/iter (± 25498989
)165784208
ns/iter (± 18397331
)1.18
es/full/all/es2018
188338284
ns/iter (± 37307217
)160782944
ns/iter (± 18813240
)1.17
es/full/all/es2019
188593759
ns/iter (± 26596396
)149664700
ns/iter (± 11898224
)1.26
es/full/all/es2020
173921773
ns/iter (± 27236630
)147589823
ns/iter (± 12281102
)1.18
es/full/parser
862147
ns/iter (± 109307
)752944
ns/iter (± 74353
)1.15
es/full/base/fixer
31531
ns/iter (± 4793
)27952
ns/iter (± 3623
)1.13
es/full/base/resolver_and_hygiene
110707
ns/iter (± 15719
)95506
ns/iter (± 8627
)1.16
serialization of ast node
248
ns/iter (± 51
)215
ns/iter (± 3
)1.15
serialization of serde
248
ns/iter (± 43
)228
ns/iter (± 24
)1.09
This comment was automatically generated by workflow using github-action-benchmark.