ARROW-12330: [Developer] Restore values at counters column of Archery benchmark

This PR restores values at `counters` column of Archery benchmark. #9140 always suppressed values at `counters` column regardless `--no-counter`. In addition, this PR stores `counters` value into json file.

Before
```
% archery benchmark diff --benchmark-filter="SetBitsTo" --output=head2.json HEAD HEAD~1
...
---------------------------------------------------------------------------
Benchmark                 Time             CPU   Iterations UserCounters...
---------------------------------------------------------------------------
SetBitsTo/2            8.15 ns         8.15 ns     81991087 bytes_per_second=234.044M/s
SetBitsTo/16           7.78 ns         7.78 ns     89928878 bytes_per_second=1.91429G/s
SetBitsTo/1024         13.9 ns         13.9 ns     50372172 bytes_per_second=68.6182G/s
SetBitsTo/131072       3508 ns         3508 ns       199335 bytes_per_second=34.7944G/s
----------------------------------------------------------------------
Non-regressions: (4)
----------------------------------------------------------------------
        benchmark         baseline        contender  change % counters
     SetBitsTo/16    1.877 GiB/sec    1.914 GiB/sec     1.975       {}
      SetBitsTo/2  230.566 MiB/sec  234.044 MiB/sec     1.509       {}
 SetBitsTo/131072   34.722 GiB/sec   34.794 GiB/sec     0.207       {}
   SetBitsTo/1024   68.593 GiB/sec   68.618 GiB/sec     0.037       {}
```

After
```
---------------------------------------------------------------------------
Benchmark                 Time             CPU   Iterations UserCounters...
---------------------------------------------------------------------------
SetBitsTo/2            8.39 ns         8.39 ns     81980047 bytes_per_second=227.438M/s
SetBitsTo/16           7.88 ns         7.88 ns     84936624 bytes_per_second=1.89105G/s
SetBitsTo/1024         13.9 ns         13.9 ns     50376587 bytes_per_second=68.6064G/s
SetBitsTo/131072       3513 ns         3513 ns       200598 bytes_per_second=34.7447G/s
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Non-regressions: (4)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------
        benchmark         baseline        contender  change %                                                                                                       counters
      SetBitsTo/2  227.438 MiB/sec  235.984 MiB/sec     3.757     {'run_name': 'SetBitsTo/2', 'repetitions': 0, 'repetition_index': 0, 'threads': 1, 'iterations': 81980047}
     SetBitsTo/16    1.891 GiB/sec    1.913 GiB/sec     1.137    {'run_name': 'SetBitsTo/16', 'repetitions': 0, 'repetition_index': 0, 'threads': 1, 'iterations': 84936624}
 SetBitsTo/131072   34.745 GiB/sec   34.771 GiB/sec     0.075  {'run_name': 'SetBitsTo/131072', 'repetitions': 0, 'repetition_index': 0, 'threads': 1, 'iterations': 200598}
   SetBitsTo/1024   68.606 GiB/sec   68.624 GiB/sec     0.026  {'run_name': 'SetBitsTo/1024', 'repetitions': 0, 'repetition_index': 0, 'threads': 1, 'iterations': 50376587}
```

Closes #9985 from kiszk/ARROW-12330

Authored-by: Kazuaki Ishizaki <ishizaki@jp.ibm.com>
Signed-off-by: Krisztián Szűcs <szucs.krisztian@gmail.com>
3 files changed
tree: 33b739968d8052fbab2361c599961a8455e8246b
  1. .github/
  2. ci/
  3. dev/
  4. format/
  5. rust/
  6. .asf.yaml
  7. .clang-format
  8. .clang-tidy
  9. .clang-tidy-ignore
  10. .dir-locals.el
  11. .dockerignore
  12. .env
  13. .gitattributes
  14. .gitignore
  15. .gitmodules
  16. .hadolint.yaml
  17. .pre-commit-config.yaml
  18. .readthedocs.yml
  19. .travis.yml
  20. appveyor.yml
  21. CHANGELOG.md
  22. cmake-format.py
  23. CODE_OF_CONDUCT.md
  24. CONTRIBUTING.md
  25. docker-compose.yml
  26. header
  27. LICENSE.txt
  28. NOTICE.txt
  29. README.md
  30. run-cmake-format.py
README.md

Apache Arrow

Build Status Coverage Status Fuzzing Status License Twitter Follow

Powering In-Memory Analytics

Apache Arrow is a development platform for in-memory analytics. It contains a set of technologies that enable big data systems to process and move data fast.

Major components of the project include:

Arrow is an Apache Software Foundation project. Learn more at arrow.apache.org.

What's in the Arrow libraries?

The reference Arrow libraries contain many distinct software components:

  • Columnar vector and table-like containers (similar to data frames) supporting flat or nested types
  • Fast, language agnostic metadata messaging layer (using Google's Flatbuffers library)
  • Reference-counted off-heap buffer memory management, for zero-copy memory sharing and handling memory-mapped files
  • IO interfaces to local and remote filesystems
  • Self-describing binary wire formats (streaming and batch/file-like) for remote procedure calls (RPC) and interprocess communication (IPC)
  • Integration tests for verifying binary compatibility between the implementations (e.g. sending data from Java to C++)
  • Conversions to and from other in-memory data structures
  • Readers and writers for various widely-used file formats (such as Parquet, CSV)

Implementation status

The official Arrow libraries in this repository are in different stages of implementing the Arrow format and related features. See our current feature matrix on git master.

How to Contribute

Please read our latest project contribution guide.

Getting involved

Even if you do not plan to contribute to Apache Arrow itself or Arrow integrations in other projects, we'd be happy to have you involved: