[all-commits] [llvm/llvm-project] 72c512: [libc++] Major improvements to visualize-historical

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Sep 23 20:32:04 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 72c512f5e10582dbfb783bed90135ff28c6cf0d2
      https://github.com/llvm/llvm-project/commit/72c512f5e10582dbfb783bed90135ff28c6cf0d2
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2025-09-23 (Tue, 23 Sep 2025)

  Changed paths:
    M libcxx/utils/requirements.txt
    M libcxx/utils/visualize-historical

  Log Message:
  -----------
  [libc++] Major improvements to visualize-historical

This patch moves to using pandas.DataFrame for representing the data,
which is a lot more expressive and better suited to computations than
regular Python objects.

- Instead of producing line charts, produce a scatter plot with
  trendlines, which is immensely more useful due to the inherent
  nature of historical benchmark results, which contain noise.
- Greatly reduce the duration for sorting commits by using `git rev-list`
  and passing all commits at once instead of requiring one subprocess
  call for each comparison.


  Commit: 3b456fa974b9aff7f91c02ce7917dd17550b9947
      https://github.com/llvm/llvm-project/commit/3b456fa974b9aff7f91c02ce7917dd17550b9947
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2025-09-23 (Tue, 23 Sep 2025)

  Changed paths:
    M libcxx/utils/compare-benchmarks

  Log Message:
  -----------
  [libc++] Add an --open option to compare-benchmarks

This makes the tool more consistent with visualize-historical.


Compare: https://github.com/llvm/llvm-project/compare/f99b7f91a957...3b456fa974b9

To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list