From: Arno H. <aho...@in...> - 2000-06-30 17:40:41
|
Hi Jeff, welcome to the phpwiki development team :o) > >The test file you supplied has about 220 lines. > >On my machine (128MB, AMD K6-2 450 Mhz) computation takes about 0.2 sec. > >I guess that's reasonable. Diff will be a seldom used feature. > > On second thought: how did you get that time? Is it possible that > it includes > the download time for the test files (they get read from sourceforge.net.) Download-time is not included. I did a simple loop over $diff = new WikiDiff($archive['content'], $wiki['content']); and timed that loop only. 250 diffs take 48 sec - makes 0.2sec per diff. Not 100% accurate, but good enough for getting a rough estimate. /Arno |