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:

Superfilous Characters (1998) HELP!!! (1998) [OT] Friday Time Waster (2003) Plugin or CGI or both (1997) Frames and WebCat (1997) [carts] and databases (1997) [OT] test (2002) I think WebDNA-Talk died ... :( (1997) Reversed words (1997) [WebDNA] 30 Minute Cookies (2016) WebCat2.0 [format thousands .0f] no go (1997) retain raw [cart] submitted value (2004) Rumpus/Typhoon modules included in Typhoon ... (1997) Quiz question: Return all green and blank records? (2001) Bad File: DeleteCommand.html (1998) spaces in db (2001) [WebDNA] Seriously what is wrong here? (2011) Hosting Service (1998) WebCat2.0 acgi vs plugin (1997) WebCatalog Mac 2.1b3 (1997)