•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the MySQL section within the Web Development category of DaniWeb, a massive community of 374,006 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,860 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MySQL advertiser:
Views: 804 | Replies: 2
![]() |
•
•
Join Date: Nov 2007
Location: Bangalore, India
Posts: 3,041
Reputation:
Rep Power: 8
Solved Threads: 227
In php, we make use of microtime to find the execution time.
Then calculate the difference between $starttime and $endtime. I am sure you can do the same in java as well !
php Syntax (Toggle Plain Text)
$starttime = microtime(); $query = mysql_query("select * from table"); $endtime = microtime();
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
*PM asking for help will be ignored*
*PM asking for help will be ignored*
![]() |
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
•
•
•
•
•
•
•
•
DaniWeb MySQL Marketplace
- ASP and MSSQL : Microsoft OLE DB Provider for ODBC Drivers error '80040e14' (ASP)
- filemaker pro 8.5 and php (MS Access and FileMaker Pro)
- Exclude duplicate records in a JOIN (MS SQL)
- Maximum execution time exceeded. (PHP)
- Querying within the results of a previous query? (MySQL)
Other Threads in the MySQL Forum
- Previous Thread: MySQL Optimization: table_cache & key_buffer
- Next Thread: Right Forum?



Linear Mode