Introducing Myself

Shlomi Fish <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <[email protected]>
Hi all!

My name is Shlomi and I subscribed to this list because I currently maintain
https://github.com/thewml/website-meta-language (WML) which is used by the
Debian site and which https://github.com/xtaran , who is a debian dev, has given
me some input on.

Now, I've done a lot of work on refactoring and optimising the wml source, so
it won't serve as an example for bad code (see
https://perl-begin.org/tutorials/bad-elements/ ) and also so my wml-based sites
will build faster. I extracted a perl5 API that eliminates some fork()+execve()
and which improved performance for my sites and was adapted to the debian site
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=900749 . Current timings
are:

Before (make -j4):

5150.42user 722.23system 29:46.58elapsed 328%CPU (0avgtext+0avgdata
607256maxresident)k 510336inputs+1485768outputs
(477major+170659478minor)pagefaults 0swaps

After:

3390.15user 558.96system 26:09.35elapsed 251%CPU (0avgtext+0avgdata
607368maxresident)k 420840inputs+1485168outputs
(661major+126278869minor)pagefaults 0swaps

I'm not using -j4 for the new version but it uses
https://metacpan.org/release/Parallel-ForkManager-Segmented

----

Anyway, I also spent some time converting the sources of
https://github.com/shlomif/perl-begin from wml to
https://metacpan.org/pod/Template and while it was quite a lot of work, it made
the brute rebuild time of the site over two times faster (and there is some
overhead). So I can recommend to gradually convert debian-www away from wml as
well for optimising the build time.

Regards and happy holidays,

	Shlomi

-- 
-----------------------------------------------------------------
Shlomi Fish       http://www.shlomifish.org/
Best Introductory Programming Language - http://shlom.in/intro-lang

If a million Shakespeares had to write together, they would write like a monkey.
    — based on Stephen Wright, via Nadav Har’El.

Please reply to list if it's a mailing list post - http://shlom.in/reply .
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.