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
+16-17
Original file line number
Diff line number
Diff line change
@@ -66,37 +66,36 @@ In order to run the integrity tests run `make ct` from project root.
66
66
Performance testing
67
67
-----------
68
68
69
-
From the `test` folder you can use the `benchmark:benchmark_serial(NrElements, MaxPriority, UseLock)` or `benchmark:benchmark_concurrent(NrProcs, NrElements, MaxPriority)` methods to test the performances.
69
+
Results are generated on a MacBook Pro (Intel Core i7 4 cores at 2.5 GHz):
70
+
The `insert overhead` is the time spent to generate `ELEMENTS` random numbers for the priorities,
70
71
71
-
-`benchmark_serial/3` inserts a number of `NrElements` with priorities from 0 to `MaxPriority` in a queue that use or not a lock.
72
-
-`benchmark_concurrent/3` spawn a number of `NrProcs` processes that will insert a number of `NrElements` with priorities from 0 to `MaxPriority` in a queue that is mandatory to use a lock.
73
-
74
-
Results on MacBook Pro (Intel Core i7 4 cores at 2.5 GHz):
72
+
-`make bench_serial` inserts a number of `ELEMENTS` with priorities from 0 to `MAX_PRIORITY` in a queue that
0 commit comments