Skip to content

Commit

Permalink
center text in column
Browse files Browse the repository at this point in the history
  • Loading branch information
jermp committed Dec 12, 2024
1 parent f48314b commit 579f865
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ The code has been compiled with gcc 9.4.0, with flags `-O3` and `-march=native`
### `pthash::single_phf` with 1 thread

| Encoder | $\alpha$ | $\lambda$ | Mapping (sec) | Mapping (%) | Searching (sec) | Searching (%) | Encoding (sec) | Encoding (%) | Total (sec) | Space (bits/key) | Lookup (ns/key) |
|---------|-------|--------|-------------|-------------|--------------|----------------|--------------|--------------|-----------|----------|--------------|
|:---------:|:-------:|:--------:|:-------------:|:-------------:|:--------------:|:----------------:|:--------------:|:--------------:|:-----------:|:----------:|:--------------:|
| R-R | 0.97 | 3.796 | 11.55 | 32.67 | 23.48 | 66.41 | 0.33 | 0.93 | 35.35 | 2.29 | 64 |
| C-C | 0.99 | 3.796 | 11.58 | 29.26 | 27.93 | 70.57 | 0.07 | 0.17 | 39.58 | 3.25 | 39 |
| D-D | 0.88 | 2.416 | 11.59 | 55.76 | 8.24 | 39.66 | 0.95 | 4.58 | 20.78 | 4.05 | 56 |
Expand All @@ -259,7 +259,7 @@ The code has been compiled with gcc 9.4.0, with flags `-O3` and `-march=native`
### `pthash::partitioned_phf` with 8 thread

| Encoder | $\alpha$ | $\lambda$ | Mapping (sec) | Mapping (%) | Searching (sec) | Searching (%) | Encoding (sec) | Encoding (%) | Total (sec) | Space (bits/key) | Lookup (ns/key) |
|---------|-------|--------|-------------|-------------|--------------|----------------|--------------|--------------|-----------|----------|--------------|
|:---------:|:-------:|:--------:|:-------------:|:-------------:|:--------------:|:----------------:|:--------------:|:--------------:|:-----------:|:----------:|:--------------:|
| R-R | 0.97 | 3.796 | 1.58 | 33.34 | 2.21 | 46.67 | 0.07 | 1.53 | 4.74 | 2.29 | 70 |
| C-C | 0.99 | 3.796 | 1.58 | 31.54 | 2.54 | 50.63 | 0.02 | 0.50 | 5.01 | 3.26 | 43 |
| D-D | 0.88 | 2.416 | 1.58 | 43.74 | 1.03 | 28.47 | 0.14 | 3.80 | 3.62 | 4.05 | 60 |
Expand All @@ -269,7 +269,7 @@ The code has been compiled with gcc 9.4.0, with flags `-O3` and `-march=native`
### `pthash::dense_partitioned_phf` with 8 thread

| Encoder | $\alpha$ | $\lambda$ | Mapping (sec) | Mapping (%) | Searching (sec) | Searching (%) | Encoding (sec) | Encoding (%) | Total (sec) | Space (bits/key) | Lookup (ns/key) |
|---------|-------|--------|-------------|-------------|--------------|----------------|--------------|--------------|-----------|----------|--------------|
|:---------:|:-------:|:--------:|:-------------:|:-------------:|:--------------:|:----------------:|:--------------:|:--------------:|:-----------:|:----------:|:--------------:|
| inter-R | 0.97 | 3.796 | 0.93 | 29.00 | 1.37 | 42.65 | 0.25 | 7.73 | 3.21 | 2.43 | 85 |
| inter-C | 0.99 | 3.796 | 0.93 | 27.27 | 1.63 | 48.00 | 0.17 | 5.02 | 3.39 | 3.35 | 56 |
| inter-D | 0.88 | 2.416 | 0.95 | 27.81 | 0.83 | 24.49 | 0.94 | 27.75 | 3.40 | 4.19 | 82 |
Expand Down
4 changes: 2 additions & 2 deletions script/make_markdown_table.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ def generate_markdown_table(averaged_rows):
header = (
"| Encoder | $\\alpha$ | $\\lambda$ | Mapping (sec) | Mapping (%) | Searching (sec) | Searching (%) "
"| Encoding (sec) | Encoding (%) | Total (sec) | Space (bits/key) | Lookup (ns/key) |\n"
"|---------|-------|--------|-------------|-------------|--------------|----------------"
"|--------------|--------------|-----------|----------|--------------|\n"
"|:---------:|:-------:|:--------:|:-------------:|:-------------:|:--------------:|:----------------:"
"|:--------------:|:--------------:|:-----------:|:----------:|:--------------:|\n"
)

rows = []
Expand Down

0 comments on commit 579f865

Please sign in to comment.