diff options
author | José Valim <[email protected]> | 2015-05-14 13:26:16 +0200 |
---|---|---|
committer | José Valim <[email protected]> | 2015-05-14 13:26:17 +0200 |
commit | 5f5ce84d0f85faba7f9f26059a08a2ba9122f524 (patch) | |
tree | dcef42757ab9cd4cc6f8297de7bbc72758f43839 /lib/megaco/.gitignore | |
parent | 6a3e878126da1e8d75c704510c7a7339ff306138 (diff) | |
download | otp-5f5ce84d0f85faba7f9f26059a08a2ba9122f524.tar.gz otp-5f5ce84d0f85faba7f9f26059a08a2ba9122f524.tar.bz2 otp-5f5ce84d0f85faba7f9f26059a08a2ba9122f524.zip |
Cache nowarn_bif_clash functions in erl_lint
When compiling parser files, because they rely heavily
on inline annotations, retrieving the nowarn_bif_clash
information from the compiler options is expensive.
This patch stores nowarn_bif_clash in the lint record.
By using erlc +'{eprof,lint_module}' when compiling the
erlang parser, we noticed the time spent on
nowarn_function/2 reduced from 30% to 0.01%.
Diffstat (limited to 'lib/megaco/.gitignore')
0 files changed, 0 insertions, 0 deletions