Samsung / walrus

WebAssembly Lightweight RUntime
Apache License 2.0
39 stars 10 forks source link

Comparison #268

Closed vorosl closed 2 months ago

vorosl commented 2 months ago
TIME RESULTS
|        test        |0 INTERPRETER|0 INTERPRETER/JIT|0 INTERPRETER/JIT_NO_REG_ALLOC|0 JIT|0 JIT/JIT_NO_REG_ALLOC|
|--------------------|-------------|-----------------|------------------------------|-----|----------------------|
|       change       |    4.140    |  1.148 (3.61x)  |         1.366 (3.03x)        |1.148|     1.366 (0.84x)    |
|      factorial     |    6.083    |  0.146 (41.66x) |        0.505 (12.05x)        |0.146|     0.505 (0.29x)    |
|      fannkuch      |    0.598    |  0.050 (11.96x) |         0.120 (4.98x)        |0.050|     0.120 (0.42x)    |
|      fibonacci     |    3.147    |  2.057 (1.53x)  |         2.090 (1.51x)        |2.057|     2.090 (0.98x)    |
|       gregory      |    3.708    |  1.593 (2.33x)  |         1.127 (3.29x)        |1.593|     1.127 (1.41x)    |
|        hanoi       |    6.753    |  0.939 (7.19x)  |         1.834 (3.68x)        |0.939|     1.834 (0.51x)    |
|      heapsort      |    4.614    |  0.433 (10.66x) |         1.289 (3.58x)        |0.433|     1.289 (0.34x)    |
|       huffman      |    4.352    |  0.252 (17.27x) |         1.131 (3.85x)        |0.252|     1.131 (0.22x)    |
|     kNucleotide    |    5.032    |  0.227 (22.17x) |         0.641 (7.85x)        |0.227|     0.641 (0.35x)    |
|  mandelbrotDouble  |    13.752   |  1.257 (10.94x) |         5.717 (2.41x)        |1.257|     5.717 (0.22x)    |
|   mandelbrotFloat  |    13.724   |  1.196 (11.47x) |         3.871 (3.55x)        |1.196|     3.871 (0.31x)    |
|   matrixMultiply   |    4.204    |  0.562 (7.48x)  |         2.229 (1.89x)        |0.562|     2.229 (0.25x)    |
|     miniWalrus     |    2.347    |  0.118 (19.89x) |         0.411 (5.71x)        |0.118|     0.411 (0.29x)    |
|        nbody       |    7.298    |  0.463 (15.76x) |         1.588 (4.60x)        |0.463|     1.588 (0.29x)    |
|       nqueens      |    5.655    |  0.351 (16.11x) |         1.065 (5.31x)        |0.351|     1.065 (0.33x)    |
|        prime       |    3.356    |  0.131 (25.62x) |         0.481 (6.98x)        |0.131|     0.481 (0.27x)    |
|      quickSort     |    5.922    |  0.263 (22.52x) |         1.308 (4.53x)        |0.263|     1.308 (0.20x)    |
|      redBlack      |    5.812    |  0.783 (7.42x)  |         1.920 (3.03x)        |0.783|     1.920 (0.41x)    |
|         rsa        |    3.237    |  0.670 (4.83x)  |         0.931 (3.48x)        |0.670|     0.931 (0.72x)    |
|      salesman      |    6.776    |  0.530 (12.78x) |         1.335 (5.08x)        |0.530|     1.335 (0.40x)    |
|simdMandelbrotDouble|    5.385    |  0.307 (17.54x) |         1.190 (4.53x)        |0.307|     1.190 (0.26x)    |
| simdMandelbrotFloat|    6.092    |  0.195 (31.24x) |         1.526 (3.99x)        |0.195|     1.526 (0.13x)    |
| simdMatrixMultiply |    4.132    |  0.442 (9.35x)  |         1.933 (2.14x)        |0.442|     1.933 (0.23x)    |
|      simdNbody     |    6.952    |  0.240 (28.97x) |         1.044 (6.66x)        |0.240|     1.044 (0.23x)    |
|      ticTacToe     |    4.677    |  0.728 (6.42x)  |         1.091 (4.29x)        |0.728|     1.091 (0.67x)    |

# Means
|  0 INTERPRETER  |0 INTERPRETER/JIT|0 INTERPRETER/JIT_NO_REG_ALLOC|       0 JIT      |0 JIT/JIT_NO_REG_ALLOC|
|-----------------|-----------------|------------------------------|------------------|----------------------|
|5.509919999999999|     14.6688     |             4.48             |0.6032399999999999|  0.42279999999999995 |

# Engines
0: /home/runner/work/walrus/walrus/out/linux/x64/walrus
zherczeg commented 2 months ago

Nice! I would not create a separate part for means, just add a -------+-----+... after the last result, create a new line with 'means' in the test column