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 itapplies 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][mathshow=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][appenddb=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]123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789[/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 anddelete 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 freeto send them to webcatlist@medien-gmbh.de.
needed:[math]xxxnedded=[elapsedtime]-lasttime[/math]ticks
Summary:
| Time for math: | [math][mneeded][/math] ticks | for append: | [math][aneeded][/math] ticks | for search: | [math][sneeded][/math] ticks |
| for lookup: | [math][lneeded][/math] ticks | for appendfile: | [math][wneeded][/math] ticks | for include: | [math][ineeded][/math] ticks |
Please send your results to dnaresults@medien-gmbh.de, together with a description of yourhardware and software setup. I will set up a comparison then. The resultswill remain anonymous, of course.
We test by using loading tools, that test volume not just initial speed.Robert MinorDirector of Internet Services------------------------------------------------------------Cybermill Communicationshttp://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development andhosting 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:
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 itapplies 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][mathshow=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][appenddb=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]123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789[/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 anddelete 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 freeto 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] ticks | for append: | [math][aneeded][/math] ticks | for search: | [math][sneeded][/math] ticks |
| for lookup: | [math][lneeded][/math] ticks | for appendfile: | [math][wneeded][/math] ticks | for include: | [math][ineeded][/math] ticks |
Please send your results to dnaresults@medien-gmbh.de, together with a description of yourhardware and software setup. I will set up a comparison then. The resultswill remain anonymous, of course.
We test by using loading tools, that test volume not just initial speed.Robert MinorDirector of Internet Services------------------------------------------------------------Cybermill Communicationshttp://www.cybermill.com http://www.merchantmaker.comProviding Ecommerce and interactive website development andhosting 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:
Problems with upload / WebCat (1998)
WebCat2b12plugin - [search] is broken ... not! (1997)
New Plug-in and Type 11 errors (1997)
How far do [showif]s go? (1997)
Math inside [showif] (1998)
OT: Test ignore (2003)
Multiple Passwords (1997)
SiteEdit NewFile.html ? (1997)
Re:Help name our technology! (1997)
Rumpus/Typhoon modules included in Typhoon ... (1997)
Download URL & access on the fly ? (1997)
How flexible is Shipping? (1997)
RE: (1997)
WebCat2b13MacPlugIn - [include] (1997)
[WebDNA] USPS shipping calculator (2012)
Web Catalog and Net Cloak (1998)
WebCat2b13MacPlugIn - [showif][search][/showif] (1997)
Help! (2000)
Bug? (1997)
case number with spaces. (2000)