Re: 3.0.20 regression testing

Fabian Keil <[email protected]>
Newsgroups gmane.comp.web.privoxy.devel
Message-ID <[email protected]>
Lee <[email protected]> wrote:

> On 1/4/13, Fabian Keil <[email protected]> wrote:
> > Lee <[email protected]> wrote:
> >
> >> On 1/3/13, Fabian Keil <[email protected]> wrote:

> > On FreeBSD Privoxy-Regression-Test spends most of the time
> > (IIRC more than 99%) executing curl, so you could try using
> > a native curl binary which might make a difference.
> 
> I suspect a native curl binary would be more trouble than it's worth
> since I'd also need a native perl binary + native whatever else the
> regression test uses

I always assumed that it would be possible to call native binaries
from cygwin (but don't remember ever testing it).

> > You could also try profiling Privoxy-Regression-Test yourself first,
> > but getting Devel::NYTProf running on Windows might not be your idea
> > of a having a good time.
> 
> I think the problem is process creation in cygwin.  Try this on your FreeBSD box

I agree that slow process creation is likely the main cause
of the problem, but my theory was that it would be faster when
calling native binaries.

> $ ./speed.sh
> Loops: 3, time=51
> Loops: 23, time=52
> Loops: 23, time=53
> Loops: 22, time=54
> Loops: 23, time=55
> Loops: 23, time=56
> Loops: 22, time=57
> Loops: 23, time=58
> Loops: 23, time=59
> Loops: 22, time=00
> Loops: 23, time=01
> Loops: 22, time=02

fk@r500 /tmp/privoxy $./speed.sh 
Loops: 58, time=00
Loops: 356, time=01
Loops: 356, time=02
Loops: 357, time=03
Loops: 356, time=04
Loops: 356, time=05
Loops: 357, time=06
Loops: 357, time=07
^C

Fabian

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912

_______________________________________________
Ijbswa-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ijbswa-developers
signature.asc (application/pgp-signature, 196 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)

iEYEARECAAYFAlDoJCoACgkQSMVSH78upWNBFgCghrSlTyyV7N8ZMJe2HnT0vy27
y8oAn2GKEHA4u6uSUI4h0v0QNijuyZ8r
=tVbU
-----END PGP SIGNATURE-----
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.