[all-commits] [llvm/llvm-project] b28f4d: [memprof] Omit the key length for the record table...

Kazu Hirata via All-commits all-commits at lists.llvm.org
Mon Apr 22 23:00:14 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: b28f4d4dd0bbf50059cb19ca794af967374e1900
      https://github.com/llvm/llvm-project/commit/b28f4d4dd0bbf50059cb19ca794af967374e1900
  Author: Kazu Hirata <kazu at google.com>
  Date:   2024-04-22 (Mon, 22 Apr 2024)

  Changed paths:
    M llvm/include/llvm/ProfileData/MemProf.h
    M llvm/include/llvm/Support/OnDiskHashTable.h

  Log Message:
  -----------
  [memprof] Omit the key length for the record table (#89527)

The record table has a constant key length, so we don't need to
serialize or deserialize it for every key-data pair.  Omitting the key
length saves 0.06% of the indexed MemProf file size.

Note that it's OK to change the format because Version2 is still under
development.



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