Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Re: Searching large files before browser timeout

by aijin (Monk)
on Jun 14, 2001 at 00:49 UTC ( #88204=note: print w/replies, xml ) Need Help??


in reply to Re: Searching large files before browser timeout
in thread Searching large files before browser timeout

This works great, thank you! I just benchmarked searching through a smallish file, using Perl pattern matching and grep.

Benchmark: timing 10000000 iterations of Grep, Perl...
Grep: 19 wallclock secs (16.38 usr + 0.03 sys = 16.41 CPU)
Perl: 101 wallclock secs (80.91 usr + 8.11 sys = 89.02 CPU)

What a difference!

  • Comment on Re: Re: Searching large files before browser timeout

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://88204]
help
Chatterbox?
[choroba]: Most coffees? Depends on the country :-)
[choroba]: oh, you mean a cup with no water.
[Discipulus]: you are rigth, gory details but i remember from dunnowhere that concetrate caffein is more effective than brown water almost coffe..
[LanX]: prepared both kinds a 100 times and thinks the amount of grind code is about the same
Discipulus less effective i mean
[LanX]: (french press vs espresso cooker )
[LanX]: s/code/coffee/
Discipulus progammer is an organism that transforms caffeine into software..

How do I use this? | Other CB clients
Other Users?
Others contemplating the Monastery: (5)
As of 2017-01-16 10:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you watch meteor showers?




    Results (148 votes). Check out past polls.