Only show inlining reports when profiling information is available.
Without profiling information, pruning is not good enough.
This commit is contained in:
parent
6d7f1627b8
commit
e4f3d8e73c
|
@ -17,7 +17,9 @@
|
||||||
(if profile
|
(if profile
|
||||||
(report-hidden-costs info-log profile hot-functions)
|
(report-hidden-costs info-log profile hot-functions)
|
||||||
'())))
|
'())))
|
||||||
(report-inlining mzc-log profile hot-functions)))
|
(if profile ; inlining reports have too low a SNR to be shown w/o profiling
|
||||||
|
(report-inlining mzc-log profile hot-functions)
|
||||||
|
'())))
|
||||||
|
|
||||||
|
|
||||||
;; Returns a report-entry or #f, which means prune.
|
;; Returns a report-entry or #f, which means prune.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user