Local machine: Dell laptop Pentium 3 (500 mhz) Wireless network card (11mpbs) 256 MB RAM
Windows .NET standard server (beta 3) I suspected that it could be the beta OS. So I dropped the exe onto another machine and tested again. It was faster so I went back to the original machine and it ran faster too. Not sure why. Here's the latest. Laptop: This is the machine that I originally tested with. (1465 log entries) Local log (without BeginUpdate) 8.7s Local log (with BeginUpdate) 3.0s Remote log (without) 30.1s Remote log (with) 16.9 Server: (1972 log entries) Local log (without BeginUpdate) 9.9s Local log (with BeginUpdate) 2.9 Remote log (without) 43.0s Remote log (with) 36.2 Not sure why it is is running slower, although I am withing a couple seconds of your fastest time. Walt Ritscher -----Original Message----- From: dotnet discussion [mailto:[EMAIL PROTECTED]] On Behalf Of Sean Greer (SBI-Chico) Sent: Friday, May 31, 2002 2:28 PM To: [EMAIL PROTECTED] Subject: Re: [DOTNET] Eventlog Viewer Wow! The same code that requires 1.2 seconds on my machine requires 43 seconds on your machine? Are you running an x86 emulator on a 68030? :-) I added the BeginUpdate & EndUpdate calls and the average time to load (without referencing the Message property on EventLogEntry) is about 1 second. I then thought that it might be related to my code originally being called from the Load event of the form, so I changed it to be called from button.click handler and the times changed slightly: Without BeginUpdate/EndUpdate: 1.4 seconds With BeginUpdate/EndUpdate: 1 second Very odd. I'd love to know what the discrepancy is between our machines... Seang -----Original Message----- From: Walt Ritscher [mailto:[EMAIL PROTECTED]] Sent: Friday, May 31, 2002 2:04 PM To: DOTNET@D You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.