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
quickly shows that do (the cut answer) is the most economical with both time and space, while do3 (the list_to_tuple answer) isn't the worst for time, but generates the most garbage.
The text was updated successfully, but these errors were encountered:
Thanks!
It is, indeed, a good idea, also considering trace sessions added for OTP27. It has to be a separate mode, similar to timed/continuous modes - "memory profile" mode. Otherwise memory profiling skews the benchmark. Moving this to v 2.4.0 to think a bit longer on the implementation.
With a quick escript to demonstrate the feature:
erlperf and this script's output on some list-sorting functions from stackoverflow:
quickly shows that
do
(thecut
answer) is the most economical with both time and space, whiledo3
(thelist_to_tuple
answer) isn't the worst for time, but generates the most garbage.The text was updated successfully, but these errors were encountered: