Re: How fast is your server?

This WebDNA talk-list message is from

2002


It keeps the original formatting.
numero = 41871
interpreted = N
texte = On 7/23/02 8:19 PM, Andrew Simpson wrote:> I thought that depended on the version of webcat you were running??? > > The lastest update changed that didn't it? Hey I dug out the old perf test someone wrote I don't know how well it applies but here it is anyway. Webdna Performance Test [showif F=[fileinfo file=firstdb.db][exits][/fileinfo]] [writefile file=firstdb.db]sku value [/writefile] [/showif]

WebDNA Performance Test

by Matthias Precht precht@medien-gmbh.de

I will take no responsibility for anything that happens executing this code. It works on my servers.

Running Time: [math]lasttime=[elapsedtime][/math] ticks

Let's do some math: sin(x), 0<x<51, 2500 times.
[loop start=1&end=50][loop start=1&end=50][math show=f]dummy=sin([index])[/math][/loop][/loop]
needed:[math]mneeded=[elapsedtime]-lasttime[/math] ticks

Running Time: [math]lasttime=[elapsedtime][/math] ticks

Open a database (2 fields), append 500 records
[loop start=1&end=500][append db=firstdb.db]sku=[index]&value=ftzn[index]ftzn[/append][/loop]
needed:[math]aneeded=[elapsedtime]-lasttime[/math] ticks

Running Time: [math]lasttime=[elapsedtime][/math] ticks

some searching stuff with [raw][search][/raw]

needed:[math]sneeded=[elapsedtime]-lasttime[/math] ticks

Running Time: [math]lasttime=[elapsedtime][/math] ticks

now some searches with [raw][lookup][/raw]

needed:[math]lneeded=[elapsedtime]-lasttime[/math] ticks

Running Time: [math]lasttime=[elapsedtime][/math] ticks

delete the records and commit database to disk
[loop start=1&end=500][delete db=firstdb.db&eqskudata=[index]][/loop] [commitdatabase db=firstdb.db]
needed:[math]dneeded=[elapsedtime]-lasttime[/math] ticks

Running Time: [math]lasttime=[elapsedtime][/math] ticks

And now to something completely different: The filesystem.
Writing 500 lines of text, each 100 bytes.
[loop start=1&end=500][appendfile file=dummyfile.txt&secure=t] 1234567890123456789012345678901234567890123456789012345678901234567890123456 78901234567890123456789 [/appendfile][/loop]
needed:[math]wneeded=[elapsedtime]-lasttime[/math] ticks

Running Time: [math]lasttime=[elapsedtime][/math] ticks

Now include this file in this page (as a HTML-comment ;-) ) two times and delete it [deletefile file=dummyfile.txt]
needed:[math]ineeded=[elapsedtime]-lasttime[/math] ticks

Running Time: [math]lasttime=[elapsedtime][/math] ticks

If anyone has more ideas of tests to put into it, feel free to send them to webcatlist@medien-gmbh.de.

needed:[math]xxxnedded=[elapsedtime]-lasttime[/math] ticks

Summary:

Time for math:[math][mneeded][/math] ticksfor append:[math][aneeded][/math] ticksfor search:[math][sneeded][/math] ticks
for lookup:[math][lneeded][/math] ticksfor appendfile:[math][wneeded][/math] ticksfor include:[math][ineeded][/math] ticks
Please send your results to dnaresults@medien-gmbh.de, together with a description of your hardware and software setup. I will set up a comparison then. The results will remain anonymous, of course.
We test by using loading tools, that test volume not just initial speed.Robert Minor Director of Internet Services ------------------------------------------------------------ Cybermill Communications http://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development and hosting services on Macintosh, Windows NT, Unix, and AS/400.All your websites are belong to us! ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Associated Messages, from the most recent to the oldest:

    
  1. Re: How fast is your server? (Alain Russell 2002)
  2. Re: How fast is your server? (Alain Russell 2002)
  3. Re: How fast is your server? (Bob Minor 2002)
  4. Re: How fast is your server? (Andrew Simpson 2002)
  5. Re: How fast is your server? (Kenneth Grome 2002)
  6. Re: How fast is your server? (Andrew Simpson 2002)
  7. Re: How fast is your server? (Aaron Lynch 2002)
  8. Re: How fast is your server? (Andrew Simpson 2002)
  9. Re: How fast is your server? (John Peacock 2002)
  10. Re: How fast is your server? (Alain Russell 2002)
  11. Re: How fast is your server? (Aaron Lynch 2002)
  12. Re: How fast is your server? (Aaron Lynch 2002)
  13. Re: How fast is your server? (Andrew Simpson 2002)
  14. Re: How fast is your server? (Aaron Lynch 2002)
  15. How fast is your server? (Andrew Simpson 2002)
On 7/23/02 8:19 PM, Andrew Simpson wrote:> I thought that depended on the version of webcat you were running??? > > The lastest update changed that didn't it? Hey I dug out the old perf test someone wrote I don't know how well it applies but here it is anyway. Webdna Performance Test [showif F=[fileinfo file=firstdb.db][exits][/fileinfo]] [writefile file=firstdb.db]sku value [/writefile] [/showif]

WebDNA Performance Test

by Matthias Precht precht@medien-gmbh.de

I will take no responsibility for anything that happens executing this code. It works on my servers.

Running Time: [math]lasttime=[elapsedtime][/math] ticks

Let's do some math: sin(x), 0<x<51, 2500 times.
[loop start=1&end=50][loop start=1&end=50][math show=f]dummy=sin([index])[/math][/loop][/loop]
needed:[math]mneeded=[elapsedtime]-lasttime[/math] ticks[math]lasttime=[elapsedtime][/math]>

Running Time: [math]lasttime=[elapsedtime][/math] ticks

Open a database (2 fields), append 500 records
[loop start=1&end=500][append db=firstdb.db]sku=[index]&value=ftzn[index]ftzn[/append][/loop]
needed:[math]aneeded=[elapsedtime]-lasttime[/math] ticks[math]lasttime=[elapsedtime][/math]>

Running Time: [math]lasttime=[elapsedtime][/math] ticks

some searching stuff with [raw][search][/raw]

needed:[math]sneeded=[elapsedtime]-lasttime[/math] ticks[math]lasttime=[elapsedtime][/math]>

Running Time: [math]lasttime=[elapsedtime][/math] ticks

now some searches with [raw][lookup][/raw]

needed:[math]lneeded=[elapsedtime]-lasttime[/math] ticks[math]lasttime=[elapsedtime][/math]>

Running Time: [math]lasttime=[elapsedtime][/math] ticks

delete the records and commit database to disk
[loop start=1&end=500][delete db=firstdb.db&eqskudata=[index]][/loop] [commitdatabase db=firstdb.db]
needed:[math]dneeded=[elapsedtime]-lasttime[/math] ticks[math]lasttime=[elapsedtime][/math]>

Running Time: [math]lasttime=[elapsedtime][/math] ticks

And now to something completely different: The filesystem.
Writing 500 lines of text, each 100 bytes.
[loop start=1&end=500][appendfile file=dummyfile.txt&secure=t] 1234567890123456789012345678901234567890123456789012345678901234567890123456 78901234567890123456789 [/appendfile][/loop]
needed:[math]wneeded=[elapsedtime]-lasttime[/math] ticks[math]lasttime=[elapsedtime][/math]>

Running Time: [math]lasttime=[elapsedtime][/math] ticks

Now include this file in this page (as a HTML-comment ;-) ) two times and delete it [deletefile file=dummyfile.txt]
needed:[math]ineeded=[elapsedtime]-lasttime[/math] ticks[math]lasttime=[elapsedtime][/math]>

Running Time: [math]lasttime=[elapsedtime][/math] ticks

If anyone has more ideas of tests to put into it, feel free to send them to webcatlist@medien-gmbh.de.

needed:[math]xxxnedded=[elapsedtime]-lasttime[/math] ticks[math]lasttime=[elapsedtime][/math]>

Summary:

Time for math:[math][mneeded][/math] ticksfor append:[math][aneeded][/math] ticksfor search:[math][sneeded][/math] ticks
for lookup:[math][lneeded][/math] ticksfor appendfile:[math][wneeded][/math] ticksfor include:[math][ineeded][/math] ticks
Please send your results to dnaresults@medien-gmbh.de, together with a description of your hardware and software setup. I will set up a comparison then. The results will remain anonymous, of course.
We test by using loading tools, that test volume not just initial speed.Robert Minor Director of Internet Services ------------------------------------------------------------ Cybermill Communications http://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development and hosting services on Macintosh, Windows NT, Unix, and AS/400.All your websites are belong to us! ------------------------------------------------------------- This message is sent to you because you are subscribed to the mailing list . To unsubscribe, E-mail to: To switch to the DIGEST mode, E-mail to Web Archive of this list is at: http://search.smithmicro.com/ Bob Minor

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

Trouble with Netscape (1998) $Quit, $CloseDatabase corrections (1997) How to include weather (2000) Math Function (1997) 5.0 Pricing (2003) 2.0 Info (1997) 2.0.1 new commands and contexts (1997) sendmail what is SIMS? (1999) read and write you own cookies with webcat (1997) Mime-Version in email header (1997) A little syntax help (1997) creator code (1997) WebDNA 4.5.1 Now Available (2003) Recovering/resetting old admin password (2005) Only charge card when product shipped ? (1997) serial number generation (1997) A good idea? (1998) Tracking inbound links for discounts (1997) Counting files (1998) Multiple prices (1997)