@@ -15,7 +15,8 @@ In addition to the relevant features and optimizations in the [TODO](https://git
15
15
- [x] Self Poly IC
16
16
- [x] Prototype Poly IC
17
17
- [x] Replace malloc To [ mimalloc] ( https://github.com/microsoft/mimalloc )
18
- - [ ] Improve The Performance Of GC
18
+ - [ ] Improving The Performance Of GC
19
+ - [ ] Optimizing Opcode Bytecode
19
20
20
21
In our plan, we first complete the above optimizations and then gradually add the remaining parts.
21
22
@@ -38,24 +39,31 @@ you can find `libquickjs.a` in lib folder and `qjs` / `qjsc` / `run-test262` in
38
39
39
40
It will output result like:
40
41
```
41
- Result: 573/75124 errors, 1388 excluded, 7844 skipped, 573 new
42
+ Result: 443/75250 errors, 1392 excluded, 7972 skipped, 443 new
42
43
```
43
44
44
45
### Benchmark
45
46
46
- > - Apple M1 Pro
47
- > - macOS Monterey 12 .2.1
48
- > - Clang 13.0.0 arm64-apple-darwin21.3 .0
47
+ > - AMD EPYC 7763 64-Core Processor(L1d cache: 32 KiB)
48
+ > - Linux codespaces-8a2c03 6 .2.0-1018-azure
49
+ > - GCC (Ubuntu 9.4.0-1ubuntu1 ~ 20.04.2) 9.4 .0
49
50
50
- | | openwebf/quickjs ([ 32acbde ] ( https://github.com/openwebf/quickjs/tree/32acbdebc733c4ce7e2ad3d77b9d85318834896b ) ) | bellard/quickjs ([ 3ab1c2b ] ( https://github.com/bellard/quickjs/tree/3ab1c2b3148d1c70181607002aac23ecdd2ad482 ) ) | Improvement(%) |
51
+ | | openwebf/quickjs ([ 0c1fa5a ] ( https://github.com/openwebf/quickjs/tree/0c1fa5a42da11f65bd54e812c49b9caf3e0a351a ) ) | bellard/quickjs ([ 3f81070 ] ( https://github.com/bellard/quickjs/tree/3f81070e573e3592728dbbbd04c84c498b20d6dc ) ) | Improvement(%) |
51
52
| ------------- | ---------- | ---------- | ---------- |
52
- | DeltaBlue | 1382 | 1021 | +35.35 |
53
- | RayTrace | 1935 | 688 | +181.15 |
54
- | RegExp | 353 | 255 | +38.43 |
55
- | NavierStokes | 2756 | 2658 | +3.68 |
56
- | PdfJS | 4934 | 3692 | +33.64 |
57
- | Gameboy | 9948 | 9057| +9.83 |
58
- | Box2D | 5264 | 4089| +28.77 |
59
- | Typescript | 19108 | 13787| +38.59 |
60
- | Total Score | 3262 | 2339| +39.46 |
61
- | File Size | 1.5M | 1.3M | -15.38 |
53
+ | Richards | 780 | 644 | +21.12 |
54
+ | DeltaBlue | 745 | 673 | +10.70 |
55
+ | Crypto | 645 | 759 | -15.02 |
56
+ | RayTrace | 1130 | 858 | +31.70 |
57
+ | EarleyBoyer | 1694 | 1333 | +27.09 |
58
+ | RegExp | 248 | 204 | +21.57 |
59
+ | Splay | 1976 | 1711 | +15.49 |
60
+ | SplayLatency | 7109 | 5574 | +27.54 |
61
+ | NavierStokes | 1322 | 1418 | -6.77 |
62
+ | PdfJS | 2989 | 2406 | +24.23 |
63
+ | Mandreel | 572 | 612 | -6.54 |
64
+ | MandreelLatency | 4343 | 4369 | -0.60 |
65
+ | Gameboy | 5191 | 4624 | +12.26 |
66
+ | CodeLoad | 13113 | 12279 | +6.80 |
67
+ | Box2D | 2787 | 2424 | +14.97 |
68
+ | Typescript | 8825 | 8390 | +5.18 |
69
+ | Score (version 9) | 1942 | 1750 | +10.97 |
0 commit comments