[libmath-prime-util-perl] 17/33: More startup measurements
Partha P. Mukherjee
ppm-guest at moszumanska.debian.org
Thu May 21 18:51:42 UTC 2015
This is an automated email from the git hooks/post-receive script.
ppm-guest pushed a commit to annotated tag v0.37
in repository libmath-prime-util-perl.
commit 0dbc616db6e76fb8d98677dd1771ede6a97eb2a5
Author: Dana Jacobsen <dana at acm.org>
Date: Wed Jan 22 10:55:50 2014 -0800
More startup measurements
---
Changes | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/Changes b/Changes
index 4c11a57..1513dee 100644
--- a/Changes
+++ b/Changes
@@ -9,14 +9,18 @@ Revision history for Perl module Math::Prime::Util
- Dynamically loads the PP code and Math::BigInt only when needed. This
removes a lot of bloat for the usual cases:
+
2.0 MB perl -E 'say 1'
- 4.3 MB MPU 0.37
+ 4.2 MB MPU 0.37
4.5 MB Math::Prime::XS + Math::Factor::XS
5.3 MB Math::Pari
+ 7.6 MB MPU 0.34
9.6 MB MPU 0.36
- 10.0 MB MPU 0.35
+ 9.7 MB MPU 0.35
+
+ - Combined with the above, this reduces startup overhead a lot (~3x).
- - Together with the previous, adjusted factor script. Over 2x faster
+ - Adjusted factor script to lower startup costs. Over 2x faster
with native integer (non-expression) arguments. This is just not
loading thousands of lines of Perl code that aren't used, which
was more time-consuming than the actual factoring.
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmath-prime-util-perl.git
More information about the Pkg-perl-cvs-commits
mailing list