In perl.git, the branch tonyc/regexp-runtime-limits has been created
<https://perl5.git.perl.org/perl.git/commitdiff/dd57c55e25ab39f195711ff3b2f9cd7109603ba8?hp=0000000000000000000000000000000000000000>
at dd57c55e25ab39f195711ff3b2f9cd7109603ba8 (commit)
- Log -----------------------------------------------------------------
commit dd57c55e25ab39f195711ff3b2f9cd7109603ba8
Author: Tony Cook <[email protected]>
Date: Wed May 29 10:44:55 2019 +1000
update some functions to the new standard name
but I might change that standard name.
commit f6ef14b652ee1e8e900db456afebd9bd69782d91
Author: Tony Cook <[email protected]>
Date: Wed May 29 10:44:26 2019 +1000
try to improve performance of the DEBUG_r checks
unfortunately the name used for the struct regexp varies from
function to function.
commit dadc55a18582c9aba97464c62419a502b8330afc
Author: Tony Cook <[email protected]>
Date: Mon May 27 16:02:23 2019 +1000
simple resource limits
CPU limits work
I don't have good (adhoc) test for memory yet.
For now this only checks:
- memory - depth of backtracking
- CPU - counts the loops around the main loop in S_regmatch()
If there's other code that can end up using significant amounts of
memory (ignoring eval blocks), the counts need to be adjusted
to match.
There's still some FIXME for the DEBUG_r() handling which is too
expensive for now.
commit b5d4df99f469900d9fb54a66ea6e49593a902af6
Author: Tony Cook <[email protected]>
Date: Thu May 23 16:21:46 2019 +1000
WIP make debug mode controllable for re.pm
FIXME: currently this does a lookup for every DEBUG_r(), which is
expensive
-----------------------------------------------------------------------
--
Perl5 Master Repository