-
-
Notifications
You must be signed in to change notification settings - Fork 263
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: autogenerate profiling code for packer_compiled (#221)
* WIP adding optional timing code to compiled output * Implement basic timed_chunk function * feat: add packer profile output function * feat: pass in profile flag to compile This is so a user can set in their config if packer should profile by default or per command * feat: add packer profile command to open display * feat: highlight times differently based on size * fix: don't mutate the profile output directly * refactor: separate highlights into self function * feat: add configurable profile threshold * fix: check global packer object exists before adding to it * docs: update README and help text * chore: add warning if profile command used when there is no profiling data * docs: fix typos and add to main config example * fix: change profile enabled key to be enable * Fix: ensure _G._packer is initialized and not overwritten * Slight style tweak in parse_args and run lua-format Co-authored-by: Akin Sowemimo <[email protected]>
- Loading branch information
1 parent
8115dd4
commit 93f440d
Showing
5 changed files
with
241 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.