Skip to content

Commit 4ce00b0

Browse files
committed
benchmarks updated
1 parent 4f1f8b7 commit 4ce00b0

File tree

2 files changed

+15
-12
lines changed

2 files changed

+15
-12
lines changed

README.md

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The code is tested on Linux with `gcc` 7.3.0 and on Mac 10.14 with `clang` 10.0.
2929
To build the code, [`CMake`](https://cmake.org/) is required.
3030

3131
Clone the repository with
32-
32+
3333
$ git clone --recursive https://github.com/jermp/interpolative_coding.git
3434

3535
If you have cloned the repository without `--recursive`, you will need to perform the following commands before
@@ -156,7 +156,7 @@ To check correctness of the implementation, use:
156156
157157
$ ./check leftmost_minimal ../data/test_collection.docs test.bin
158158
159-
which will compare every decode integer against the input collection.
159+
which will compare every decoded integer against the input collection.
160160
161161
Benchmark
162162
------
@@ -167,16 +167,20 @@ We report the average number of bits per integer (bpi)
167167
and nanoseconds spent per decoded integer (with and without the
168168
run-aware optimization).
169169
170-
Time measurements were taken using a Linux 4.4.0 server machine with
171-
an Intel i7-7700 CPU (@3.6 GHz) and 64 GB of RAM.
172-
The code was compiled with gcc 7.3.0 with all optimizations
170+
We used two different Intel processors: i7-7700
171+
and i9-9900K, both clocked at 3.6 GHz and having 32K L1 caches for
172+
instructions and data.
173+
Both systems run Linux 4.4.0 and have 64 GB on RAM.
174+
The code was compiled with gcc 7.3.0 on the first
175+
system; with gcc 8.3.0 on the second.
176+
In both cases we used all optimizations
173177
(see also `CMakeLists.txt`).
174178
175-
|**Method** |**bpi** | **ns/int (run-aware)** | **ns/int (not run-aware)**|
176-
|:-----------------|:------:|:-----------------------:|:-------------------------:|
177-
|simple |3.532 | 3.45 | 4.65 |
178-
|left-most minimal |3.362 | 5.78 | 7.07 |
179-
|centered minimal |3.361 | 5.78 | 7.07 |
179+
|**Method** |**bpi** | **ns/int (run-aware) on i7-7700** | **ns/int (not run-aware) on i7-7700**| **ns/int (run-aware) on i9-9900K** | **ns/int (not run-aware) on i9-9900K**|
180+
|:-----------------|:------:|:------------------:|:------:|:-----:|:-----:|
181+
|simple |3.532 | 3.45 | 4.65 | 2.52 | 3.37 |
182+
|left-most minimal |3.362 | 5.78 | 7.07 | 4.18 | 5.28 |
183+
|centered minimal |3.361 | 5.78 | 7.07 | 4.24 | 5.33 |
180184
181185
Author
182186
------

test/CMakeLists.txt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
add_executable(example example.cpp)
2-
add_executable(incremental incremental.cpp)
1+
add_executable(example example.cpp)

0 commit comments

Comments
 (0)