You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
set_option trace.profiler.threshold is very helpful for filtering profiles, but 1ms of resolution is too coarse; using a value of 1 doesn't capture enough data, and using a value of 0 captures way too much.
Context
@hrmacbeth, @robertylewis and I are trying to profile and speedup linarith; with a threshold of 1 we miss most of the cost paid by thousands of calls to MetaM.mkAppM, while with a threshold of 0 the recorded data is too large and never finishes writing out to the profile file.
Prerequisites
Please put an X between the brackets as you perform the following steps:
https://github.com/leanprover/lean4/issues
Avoid dependencies to Mathlib or Batteries.
https://live.lean-lang.org/#project=lean-nightly
(You can also use the settings there to switch to “Lean nightly”)
Description
set_option trace.profiler.threshold
is very helpful for filtering profiles, but 1ms of resolution is too coarse; using a value of1
doesn't capture enough data, and using a value of0
captures way too much.Context
@hrmacbeth, @robertylewis and I are trying to profile and speedup
linarith
; with a threshold of1
we miss most of the cost paid by thousands of calls toMetaM.mkAppM
, while with a threshold of0
the recorded data is too large and never finishes writing out to the profile file.Steps to Reproduce
Run
Expected behavior: One of the above should be legal
Actual behavior: Neither is valid syntax, as lean options cannot hold durations or
ofScientific
literalsVersions
4.14.0
Additional Information
Impact
Add 👍 to issues you consider important. If others are impacted by this issue, please ask them to add 👍 to it.
The text was updated successfully, but these errors were encountered: