develooper Front page | perl.perl5.porters | Postings from January 2001

Re: Does perl really need to use sigsetjmp? (18% performance hit)

Thread Previous | Thread Next
From:
Alan Burlison
Date:
January 10, 2001 15:17
Subject:
Re: Does perl really need to use sigsetjmp? (18% performance hit)
Message ID:
3A5CED5A.EB91D825@uk.sun.com
> Can you tell me if passing 0 to sigsetjmp(b,0) is significantly slower
> than setjmp() for you ? (Solaris, OS/2)

Solaris/sparc
$ jmp
Loop overhead: 22 ns/iter
setjmp(jb): 32 ns/call
sigsetjmp(sjb, 0): 11795 ns/call
sigsetjmp(sjb, 1): 11856 ns/call

source attached.

Alan Burlison
Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About