Skip to content

Commit

Permalink
Run Benchmarks for qsv
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad committed Sep 14, 2021
1 parent 3d1067d commit b29007d
Showing 1 changed file with 26 additions and 23 deletions.
49 changes: 26 additions & 23 deletions BENCHMARKS.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,39 @@
These are some very basic and unscientific benchmarks of various commands
provided by `xsv`. Please see below for more information.
provided by `qsv`. Please see below for more information.

These benchmarks were run with
[worldcitiespop_mil.csv](https://burntsushi.net/stuff/worldcitiespop_mil.csv),
which is a random 1,000,000 row subset of the world city population dataset
from the [Data Science Toolkit](https://github.com/petewarden/dstkdata).

These benchmarks were run on an Intel i7-6900K (8 CPUs, 16 threads) with 64GB
of memory.
These benchmarks were run on Virtualbox VM on Windows 11 with a Ryzen 7 4800H and 32GB memory
(VM configured with Ubuntu 20.04 LTS assigned 8 CPUs and 12 GB of memory)

```
count 0.11 seconds 413.76 MB/sec
flatten 4.54 seconds 10.02 MB/sec
flatten_condensed 4.45 seconds 10.22 MB/sec
frequency 1.82 seconds 25.00 MB/sec
index 0.12 seconds 379.28 MB/sec
sample_10 0.18 seconds 252.85 MB/sec
sample_1000 0.18 seconds 252.85 MB/sec
sample_100000 0.29 seconds 156.94 MB/sec
search 0.27 seconds 168.56 MB/sec
select 0.14 seconds 325.09 MB/sec
search 0.13 seconds 350.10 MB/sec
select 0.13 seconds 350.10 MB/sec
sort 2.18 seconds 20.87 MB/sec
slice_one_middle 0.08 seconds 568.92 MB/sec
slice_one_middle_index 0.01 seconds 4551.36 MB/sec
stats 1.09 seconds 41.75 MB/sec
stats_index 0.15 seconds 303.42 MB/sec
stats_everything 1.94 seconds 23.46 MB/sec
stats_everything_index 0.93 seconds 48.93 MB/sec
count 0.11 seconds 413.76 MB/sec
fill 1.13 seconds 40.27 MB/sec
flatten 5.48 seconds 8.30 MB/sec
flatten_condensed 5.52 seconds 8.24 MB/sec
frequency 3.05 seconds 14.92 MB/sec
frequency_selregex 0.48 seconds 94.82 MB/sec
index 0.11 seconds 413.76 MB/sec
rename 0.36 seconds 126.42 MB/sec
sample_10 0.23 seconds 197.88 MB/sec
sample_1000 0.24 seconds 189.64 MB/sec
sample_100000 0.33 seconds 137.92 MB/sec
sample_25pct_index 0.42 seconds 108.36 MB/sec
search 0.17 seconds 267.72 MB/sec
select 0.15 seconds 303.42 MB/sec
select_regex 0.18 seconds 252.85 MB/sec
sort 2.29 seconds 19.87 MB/sec
slice_one_middle 0.11 seconds 413.76 MB/sec
slice_one_middle_index 0.01 seconds 4551.36 MB/sec
stats 1.42 seconds 32.05 MB/sec
stats_index 0.19 seconds 239.54 MB/sec
stats_everything 3.37 seconds 13.50 MB/sec
stats_everything_index 2.60 seconds 17.50 MB/sec
transpose 0.72 seconds 63.21 MB/sec
```

### Details

The purpose of these benchmarks is to provide a rough ballpark estimate of how
Expand Down

0 comments on commit b29007d

Please sign in to comment.