From 7568e229e3c894d530a65bd72c77dbac05af330e Mon Sep 17 00:00:00 2001 From: Marvin Scham Date: Fri, 26 Aug 2022 09:13:29 +0200 Subject: [PATCH] Split table --- benchmarks/README.md | 46 ++++++++++++++++++++++++++++++-------------- 1 file changed, 32 insertions(+), 14 deletions(-) diff --git a/benchmarks/README.md b/benchmarks/README.md index 425bff1..e775c2e 100644 --- a/benchmarks/README.md +++ b/benchmarks/README.md @@ -23,18 +23,36 @@ _Angelehnt an Pierre Quentels [Brython Benchmarking 2015](https://brythonista.wo _Alle Messergebnisse inkl. Berechnung sind in `Benchmarks.xlsx` zu finden._ ```text - Ausführungszeit (ms) | x-mal langsamer als CPython - CPython Skulpt PyPy.js Brython Pyodide PyScript | Skulpt PyPy.js Brython Pyodide PyScript -assignment.py 47 1711 1602 1242 221 194 | 36.4 34.1 26.4 4.7 4.1 -augm_assign.py 97 2919 1828 2116 378 325 | 30.1 18.8 21.8 3.9 3.4 -assignment_float.py 44 1707 1505 1306 234 195 | 38.8 34.2 29.7 5.3 4.4 -build_dict.py 112 2301 2142 2071 466 437 | 20.5 19.1 18.5 4.2 3.9 -set_dict_item.py 67 1824 2182 1455 347 320 | 27.2 32.6 21.7 5.2 4.8 -build_list.py 84 1924 1527 1302 440 412 | 22.9 18.2 15.5 5.2 4.9 -set_list_item.py 73 2264 1455 1432 342 307 | 31.0 19.9 19.6 4.7 4.2 -add_integers.py 106 4232 1743 2298 436 381 | 39.9 16.4 21.7 4.1 3.6 -add_strings.py 154 3155 1760 3440 627 575 | 20.5 11.4 22.3 4.1 3.7 -str_of_int.py 23 553 189 131 104 103 | 24.0 8.2 5.7 4.5 4.5 -create_function.py 114 2862 1521 2047 526 479 | 25.1 13.3 18.0 4.6 4.2 -function_call.py 117 2363 1387 2090 457 385 | 20.2 11.9 11.9 3.9 3.3 + Ausführungszeit (ms) + CPython Skulpt PyPy.js Brython Pyodide PyScript +assignment.py 47 1711 1602 1242 221 194 +augm_assign.py 97 2919 1828 2116 378 325 +assignment_float.py 44 1707 1505 1306 234 195 +build_dict.py 112 2301 2142 2071 466 437 +set_dict_item.py 67 1824 2182 1455 347 320 +build_list.py 84 1924 1527 1302 440 412 +set_list_item.py 73 2264 1455 1432 342 307 +add_integers.py 106 4232 1743 2298 436 381 +add_strings.py 154 3155 1760 3440 627 575 +str_of_int.py 23 553 189 131 104 103 +create_function.py 114 2862 1521 2047 526 479 +function_call.py 117 2363 1387 2090 457 385 +``` + +```text + + x-mal langsamer als CPython + Skulpt PyPy.js Brython Pyodide PyScript +assignment.py 36.4 34.1 26.4 4.7 4.1 +augm_assign.py 30.1 18.8 21.8 3.9 3.4 +assignment_float.py 38.8 34.2 29.7 5.3 4.4 +build_dict.py 20.5 19.1 18.5 4.2 3.9 +set_dict_item.py 27.2 32.6 21.7 5.2 4.8 +build_list.py 22.9 18.2 15.5 5.2 4.9 +set_list_item.py 31.0 19.9 19.6 4.7 4.2 +add_integers.py 39.9 16.4 21.7 4.1 3.6 +add_strings.py 20.5 11.4 22.3 4.1 3.7 +str_of_int.py 24.0 8.2 5.7 4.5 4.5 +create_function.py 25.1 13.3 18.0 4.6 4.2 +function_call.py 20.2 11.9 11.9 3.9 3.3 ```