[WebDNA] Comparisons

This WebDNA talk-list message is from

2011


It keeps the original formatting.
numero = 106183
interpreted = N
texte = --Apple-Mail-14--149029506 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Here some WebDNA 6.0, 6.2 and 7.0 as well as some php/MySQL tests. The = test files are included = --------------------------------------------------------------------------= ------- php/MySQL quad Opteron 2.2GHz, 4GB RAM for apache/php Ubuntu 8 quad Opteron 2.2GHz, 8GB RAM for MySQL 5 Ubuntu 8 Text Variables - Set an increasing # into a text variable 10000 times..: = 0.03 s Let's do some math (10000 times).......................................: = 0.05 s Open database (2 fields), append 10000 records.........................: = 3 s Search 40000 Records...................................................: = 105 s Delete 10000 Records...................................................: = 35 s = --------------------------------------------------------------------------= ------- WebDNA CICADA iMac 2.4GHz, 3GB RAM Text Variables - Set an increasing # into a text variable 10000 times..: = 5 s Let's do some math: sin(x) 10000 times.................................: = 1 s Open a database (2 fields), append 10000 records.......................: = 2 s Now 40000 searches with [lookup].......................................: = 2 s 10000 searches with [search]...........................................: = 20 s Delete 10000 records...................................................: = 7 s = --------------------------------------------------------------------------= ------- WebDNA 6.0a under Ubuntu 8 quad Opteron 2.2GHz, 4GB RAM for apache/WebDNA Text Variables - Set an increasing # into a text variable 10000 times..: = 13 s Let's do some math: sin(x) 10000 times.................................: = 10 s Open a database (2 fields), append 10000 records.......................: = 13 s Now 40000 searches with [lookup].......................................: = 70 s 10000 searches with [search]...........................................: = 27 s Delete 10000 records...................................................: = 9 s = --------------------------------------------------------------------------= ------- WebDNA 7.0 under OSX iMac 2.4GHz, 3GB RAM Text Variables - Set an increasing # into a text variable 10000 times..: = 5 s Let's do some math: sin(x) 10000 times.................................: = <1 s Open a database (2 fields), append 10000 records.......................: = <1 s Now 40000 searches with [lookup].......................................: = 2 s 10000 searches with [search]...........................................: = 17 s Delete 10000 records...................................................: = 5 s = --------------------------------------------------------------------------= ------- Here the rough code: --Apple-Mail-14--149029506 Content-Disposition: attachment; filename=stress.php Content-Type: text/php; name="stress.php" Content-Transfer-Encoding: 7bit
DescriptionThis Task (seconds / ticks)Total (seconds / ticks)
/ "; echo round($time1*60);?> / "; echo round($totaltime*60);?>
/ "; echo round($time3*60);?> / "; echo round($totaltime*60);?>
/ "; echo round($time4*60);?> / "; echo round($totaltime*60);?>
/ "; echo round($time5*60);?> / "; echo round($totaltime*60);?>
/ "; echo round($time6*60);?> / "; echo round($totaltime*60);?>
--Apple-Mail-14--149029506 Content-Disposition: attachment; filename=stress.dna Content-Type: application/octet-stream; name="stress.dna" Content-Transfer-Encoding: 7bit WebDNA Performance Test [!] ##Check for the Database first - create it if not there--[/!] [showif T=[fileinfo file=speed.db][exists][/fileinfo]] [closedatabase db=speed.db] [deletefile file=speed.db] [/showif] [showif F=[fileinfo file=speed.db][exists][/fileinfo]] [writefile file=speed.db]skuvalue [/writefile] [/showif] [!] ##Delete the records in the DB to ensure the search is 'clean'--[/!] [delete db=speed.db&neSKUdata=find_all]                                                    
(seconds) This Task
 
 
Variables
Text Variables - Set an increasing # into a text variable 10000 times

[Math time]{[time]}-{[start_time]}[/Math]
Let's do some math: sin(x), 0<x<51, 10000 times.

[Math time]{[time]}-{[start_time]}[/Math]
 
Database Manipulation
Open a database (2 fields), append 10000 records [Math time]{[time]}-{[start_time]}[/Math]
Now 40000 searches with [raw][lookup][/raw] [Math time]{[time]}-{[start_time]}[/Math]
10000 searches with [raw][search][/raw] [Math time]{[time]}-{[start_time]}[/Math]
Delete the records [Math time]{[time]}-{[start_time]}[/Math]
--Apple-Mail-14--149029506 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii - chris --Apple-Mail-14--149029506-- Associated Messages, from the most recent to the oldest:

    
  1. [WebDNA] Comparisons (christophe.billiottet@webdna.us 2011)
  2. Re: [WebDNA] Comparisons in "if" and "case" statements (christophe.billiottet@webdna.us 2010)
  3. Re: [WebDNA] Comparisons in "if" and "case" statements (Govinda 2010)
  4. [WebDNA] Comparisons in "if" and "case" statements (William DeVaul 2010)
--Apple-Mail-14--149029506 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Here some WebDNA 6.0, 6.2 and 7.0 as well as some php/MySQL tests. The = test files are included = --------------------------------------------------------------------------= ------- php/MySQL quad Opteron 2.2GHz, 4GB RAM for apache/php Ubuntu 8 quad Opteron 2.2GHz, 8GB RAM for MySQL 5 Ubuntu 8 Text Variables - Set an increasing # into a text variable 10000 times..: = 0.03 s Let's do some math (10000 times).......................................: = 0.05 s Open database (2 fields), append 10000 records.........................: = 3 s Search 40000 Records...................................................: = 105 s Delete 10000 Records...................................................: = 35 s = --------------------------------------------------------------------------= ------- WebDNA CICADA iMac 2.4GHz, 3GB RAM Text Variables - Set an increasing # into a text variable 10000 times..: = 5 s Let's do some math: sin(x) 10000 times.................................: = 1 s Open a database (2 fields), append 10000 records.......................: = 2 s Now 40000 searches with [lookup].......................................: = 2 s 10000 searches with [search]...........................................: = 20 s Delete 10000 records...................................................: = 7 s = --------------------------------------------------------------------------= ------- WebDNA 6.0a under Ubuntu 8 quad Opteron 2.2GHz, 4GB RAM for apache/WebDNA Text Variables - Set an increasing # into a text variable 10000 times..: = 13 s Let's do some math: sin(x) 10000 times.................................: = 10 s Open a database (2 fields), append 10000 records.......................: = 13 s Now 40000 searches with [lookup].......................................: = 70 s 10000 searches with [search]...........................................: = 27 s Delete 10000 records...................................................: = 9 s = --------------------------------------------------------------------------= ------- WebDNA 7.0 under OSX iMac 2.4GHz, 3GB RAM Text Variables - Set an increasing # into a text variable 10000 times..: = 5 s Let's do some math: sin(x) 10000 times.................................: = <1 s Open a database (2 fields), append 10000 records.......................: = <1 s Now 40000 searches with [lookup].......................................: = 2 s 10000 searches with [search]...........................................: = 17 s Delete 10000 records...................................................: = 5 s = --------------------------------------------------------------------------= ------- Here the rough code: --Apple-Mail-14--149029506 Content-Disposition: attachment; filename=stress.php Content-Type: text/php; name="stress.php" Content-Transfer-Encoding: 7bit
DescriptionThis Task (seconds / ticks)Total (seconds / ticks)
/ "; echo round($time1*60);?> / "; echo round($totaltime*60);?>
/ "; echo round($time3*60);?> / "; echo round($totaltime*60);?>
/ "; echo round($time4*60);?> / "; echo round($totaltime*60);?>
/ "; echo round($time5*60);?> / "; echo round($totaltime*60);?>
/ "; echo round($time6*60);?> / "; echo round($totaltime*60);?>
--Apple-Mail-14--149029506 Content-Disposition: attachment; filename=stress.dna Content-Type: application/octet-stream; name="stress.dna" Content-Transfer-Encoding: 7bit WebDNA Performance Test [!] ##Check for the Database first - create it if not there--[/!] [showif T=[fileinfo file=speed.db][exists][/fileinfo]] [closedatabase db=speed.db] [deletefile file=speed.db] [/showif] [showif F=[fileinfo file=speed.db][exists][/fileinfo]] [writefile file=speed.db]skuvalue [/writefile] [/showif] [!] ##Delete the records in the DB to ensure the search is 'clean'--[/!] [delete db=speed.db&neSKUdata=find_all]                                                    
(seconds) This Task
 
 
Variables
Text Variables - Set an increasing # into a text variable 10000 times

[Math time]{[time]}-{[start_time]}[/Math]
Let's do some math: sin(x), 0<x<51, 10000 times.

[Math time]{[time]}-{[start_time]}[/Math]
 
Database Manipulation
Open a database (2 fields), append 10000 records [Math time]{[time]}-{[start_time]}[/Math]
Now 40000 searches with [raw][lookup][/raw] [Math time]{[time]}-{[start_time]}[/Math]
10000 searches with [raw][search][/raw] [Math time]{[time]}-{[start_time]}[/Math]
Delete the records [Math time]{[time]}-{[start_time]}[/Math]
--Apple-Mail-14--149029506 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=us-ascii - chris --Apple-Mail-14--149029506-- christophe.billiottet@webdna.us

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:

Preventing code execution (2003) WebDNA Quick Reference (Reserved Words) (2000) [OT] Airport Problem (2003) OT - quiet on the list today - here's something (2004) Preferred Web Design Tool? (1999) Emailer (1997) User can't change a password (2002) WebCat b13 CGI -shownext- (1997) Server Takes 2 Hours to Boot UP (2004) Subject: Authenticating users without dialog box (1997) WebCat2 beta 11 - new prefs ... (1997) WebCat2 beta 11 - new prefs ... (1997) Major problem (1999) Need relative path explanation (1997) Help with Repost Data msg from form (1997) File Upload, Browser Timeout (2003) Shopping carts and reloading pages (1997) shipcost (1997) autosensing lanague selection (1997) Emailer (WebCat2) (1997)