You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+19-14Lines changed: 19 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,6 +32,24 @@ Since the performance of some variants (especially `simple`) is not great, we ru
32
32
33
33
See the table below for a runtime comparison of the variants that has been created with the scripts inside the `benchmark` directory. The C reference implementation serves as a comparison.
34
34
35
+
> [!TIP]
36
+
> If the table is hard to read on the landing page, you might wanna read the README directly here: [click](README.md)
For all benchmarks, the arguments `1 {1,2} 100 2 2 100` were used. Therefore, this only serves to give you a rough overview.
36
54
37
55
`runtime_internal` shows the runtime that partdiff measured itself (the `Calculation time` field in the output) and `runtime_total` shows the runtime measured via `time.perf_counter()`.
@@ -51,20 +69,7 @@ The `numba` variant performs a bit worse than the reference implementation, the
51
69
52
70
Finally, the performance of the `cython` variant is nearly identical to the reference implementation. Also not surprising, since the Cython code is an almost straight port of the C code, and Cython then translates that back to C and compiles it with exactly the same optimizations that the C version uses by default.
0 commit comments