libwww-perl / WWW-Mechanize

Handy web browsing in a Perl object
https://metacpan.org/pod/WWW::Mechanize
Other
68 stars 52 forks source link

VERY slow on xpath getting TDs of a TR #362

Closed aimass closed 1 year ago

aimass commented 1 year ago

Hi there!

If there's a mailing list pls. let me know and I'll post the discussion there.

This is taking 2 to 3 seconds on average: my @cells = $mech->xpath('.//td', node => $rows[$row_index]);

what is making it so slow ?? Is there a way to speed this?

TIA!

-- Alex

MartinMcGrath commented 1 year ago

Issues should be raised under the WWW::Mechanize::Chrome issue tracker: https://github.com/Corion/WWW-Mechanize-Chrome/issues

Context: https://perlmonks.org/?node_id=11148377

aimass commented 1 year ago

Sorry, posted on the wrong repo !