[Linpha-cvs] SF.net SVN: linpha: [4865] trunk
Status: Inactive
Brought to you by:
bzrudi
From: <fan...@us...> - 2008-02-11 18:59:22
|
Revision: 4865 http://linpha.svn.sourceforge.net/linpha/?rev=4865&view=rev Author: fangehrn Date: 2008-02-11 10:59:15 -0800 (Mon, 11 Feb 2008) Log Message: ----------- Added Paths: ----------- trunk/misc/benchmark/perf.php Removed Paths: ------------- trunk/linpha2/perf.php Deleted: trunk/linpha2/perf.php =================================================================== --- trunk/linpha2/perf.php 2008-02-11 18:55:38 UTC (rev 4864) +++ trunk/linpha2/perf.php 2008-02-11 18:59:15 UTC (rev 4865) @@ -1,25 +0,0 @@ -<?php -define('LINPHA_DIR','.'); - -if (!file_exists(LINPHA_DIR.'/logsql.txt')) -{ - exit(1); -} - -include_once(LINPHA_DIR.'/lib/include/common.php'); - -/** - * some init stuff - */ - require_once(LINPHA_DIR.'/lib/classes/linpha.class.php'); - global $linpha; - $linpha = new Linpha(); - $linpha->sql->startSession(); - -/** - * do perf - */ - $perf = &NewPerfMonitor($GLOBALS['linpha']->db); - define('ADODB_PERF_NO_RUN_SQL',1); - $perf->UI($pollsecs=5); -?> \ No newline at end of file Copied: trunk/misc/benchmark/perf.php (from rev 4864, trunk/linpha2/perf.php) =================================================================== --- trunk/misc/benchmark/perf.php (rev 0) +++ trunk/misc/benchmark/perf.php 2008-02-11 18:59:15 UTC (rev 4865) @@ -0,0 +1,25 @@ +<?php +define('LINPHA_DIR','.'); + +if (!file_exists(LINPHA_DIR.'/logsql.txt')) +{ + exit(1); +} + +include_once(LINPHA_DIR.'/lib/include/common.php'); + +/** + * some init stuff + */ + require_once(LINPHA_DIR.'/lib/classes/linpha.class.php'); + global $linpha; + $linpha = new Linpha(); + $linpha->sql->startSession(); + +/** + * do perf + */ + $perf = &NewPerfMonitor($GLOBALS['linpha']->db); + define('ADODB_PERF_NO_RUN_SQL',1); + $perf->UI($pollsecs=5); +?> \ No newline at end of file This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |