Re: [elixir-core:11704] Performance of regular expression matches

2024-03-15 Thread José Valim
fprof is great at telling what in a given workflow is taking time but comparing fprof results won't tell you by how much it got faster. For that you will have to benchmark it again. For tight-loops though, I can see how removing the version check, option handling and everything else speeds up perfo

Re: [elixir-core:11704] Performance of regular expression matches

2024-03-15 Thread Jan Krüger
Alright. If you can't see it, then it must have been something in my environment. What I did when working on this is run fprof to identify potential performance problems, and the version checked showed up as a substantial part of the time spent in the regex code. Is that a valid use of fprof in