[PATCH] D106157: [MLGO] Use binary protobufs for improved training performance.
Mircea Trofin via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 16 08:25:49 PDT 2021
mtrofin created this revision.
mtrofin added a reviewer: phosek.
Herald added subscribers: ChuanqiXu, hiraditya, mgorny.
mtrofin requested review of this revision.
Herald added a project: LLVM.
Herald added a subscriber: llvm-commits.
It turns out that during training, the time required to parse the
textual protobuf of a training log is about the same as the time it
takes to compile the module generating that log. Using binary protobufs
instead elides that cost almost completely.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D106157
Files:
llvm/CMakeLists.txt
llvm/lib/Analysis/CMakeLists.txt
llvm/lib/Analysis/TFUtils.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D106157.359333.patch
Type: text/x-patch
Size: 8616 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210716/67e167dd/attachment.bin>
More information about the llvm-commits
mailing list