Severe RegEx Performance Problems
Hello,
I have written a pretty large set of RegEx operations that run quite speedily on my MacBook Pro, but when I move the code to a Windows server (that will be the final deployment machine), the code runs about 1/1000 as fast. What's going on here? The MacBook Pro is a Core 2 Duo and the Windows machine is a 3.0Ghz P4. Both have 2GB+ of RAM.
Please tell me this isn't a hardware issue!
Thanks much in advance!
- Brent
> Hello,
>
> I have written a pretty large set of RegEx operations
> that run quite speedily on my MacBook Pro, but when I
> move the code to a Windows server (that will be the
> final deployment machine), the code runs about 1/1000
> as fast. What's going on here? The MacBook Pro is a
> Core 2 Duo and the Windows machine is a 3.0Ghz P4.
> Both have 2GB+ of RAM.
>
> Please tell me this isn't a hardware issue!
>
> Thanks much in advance!
>
> - Brent
Without example code it is impossible to determine.
(T)
1/1000 as fast?
Hmm. Did you take into consideration that the Windows machine
is doing updates, update checks, sending a list of your favorite
books to Windows HQ, running the 30 aol/realplayer/quicktime
background tasks in your bloated startup menu, emailing that picture
of you drunk at that office halloween party to whoever hacked your
computer, running 1,000 astronomy calculations for the SETI hackers
that slaved your computer...
Its a testament to how fast Windows Server is that it can do so many
things.
All kidding aside though, where did you get 1/1000 as fast from?
Its completely possible that there was a resource hungry task
running temporarily. Or is it always so slow?