Hello :) I saw the slideshare on NYTProf 3 and figured I would give latest trunk a spin, since I am in the middle of profiling some code anyways :)
I have the following code-snippet that I try to run like this: perl -d:NYTProf xt/benchmarks/n/curl-simple-multi.pl On trunk this errors out with Bus error on 2.10 (latest from CPAN) it works as expected. The curl-simple-multi.pl looks like this: #!/usr/bin/perl use WWW::Curl::Simple; my @urls = ( 'http://en.wikipedia.org/wiki/Main_Page', 'http://www.yahoo.com', 'http://www.startsiden.no', 'http://www.abcnyheter.no', 'http://www.cnn.com', 'http://www.bbc.co.uk', 'http://www.vg.no', 'http://www.perl.org', 'http://www.perl.com', ); my $curl = WWW::Curl::Simple->new(); { $curl->add_request(HTTP::Request->new(GET => $_)) foreach (@urls); my @res = $curl->perform; foreach my $req (@res) { my $res = $req->response; my $b = $res->content; } } I am sorry this isn't in the form of a test-case yet, but it might be something I am doing wrong. Below WWW::Curl::Simple lies WWW::Curl::Multi (in this case) which is a XS-wrapper for libcurl. Could it be some problem with XS-profiling? Thanks in advance for the patience :) - andreas --~--~---------~--~----~------------~-------~--~----~ You've received this message because you are subscribed to the Devel::NYTProf Development User group. Group hosted at: http://groups.google.com/group/develnytprof-dev Project hosted at: http://perl-devel-nytprof.googlecode.com CPAN distribution: http://search.cpan.org/dist/Devel-NYTProf To post, email: [email protected] To unsubscribe, email: [email protected] -~----------~----~----~----~------~----~------~--~---
