[all-commits] [llvm/llvm-project] deae7e: [libc] revamp memory function benchmark

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Thu Dec 17 05:24:04 PST 2020


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: deae7e982a3b08996455e2cdfdc5062bf37895a3
      https://github.com/llvm/llvm-project/commit/deae7e982a3b08996455e2cdfdc5062bf37895a3
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2020-12-17 (Thu, 17 Dec 2020)

  Changed paths:
    M libc/benchmarks/CMakeLists.txt
    M libc/benchmarks/JSON.cpp
    M libc/benchmarks/JSON.h
    M libc/benchmarks/JSONTest.cpp
    M libc/benchmarks/LibcBenchmark.h
    M libc/benchmarks/LibcMemoryBenchmark.cpp
    M libc/benchmarks/LibcMemoryBenchmark.h
    M libc/benchmarks/LibcMemoryBenchmarkMain.cpp
    R libc/benchmarks/LibcMemoryBenchmarkMain.h
    M libc/benchmarks/LibcMemoryBenchmarkTest.cpp
    R libc/benchmarks/Memcmp.cpp
    R libc/benchmarks/Memcpy.cpp
    M libc/benchmarks/MemorySizeDistributions.cpp
    R libc/benchmarks/Memset.cpp
    M libc/benchmarks/RATIONALE.md
    M libc/benchmarks/README.md
    R libc/benchmarks/configuration_big.json
    R libc/benchmarks/configuration_small.json
    A libc/benchmarks/libc-benchmark-analysis.py3
    R libc/benchmarks/render.py3

  Log Message:
  -----------
  [libc] revamp memory function benchmark

The benchmarking infrastructure can now run in two modes:
 - Sweep Mode: which generates a ramp of size values (same as before),
 - Distribution Mode: allows the user to select a distribution for the size paramater that is representative from production.

The analysis tool has also been updated to handle both modes.

Differential Revision: https://reviews.llvm.org/D93210




More information about the All-commits mailing list