Apache Benchmarking tool is used for doing load test for web applications.
Below is an example of using it :
ab -n 1000 -c 100 "http://ip:port/test"
-n - number of requests
-c - number of concurrency requests
Monday, June 20, 2011
Thursday, June 16, 2011
Wednesday, June 8, 2011
Import a .js file in another js file
function inc(filename)
{
var body = document.getElementsByTagName('head')[0];
script = document.createElement('script');
script.src = filename;
script.type = 'text/javascript';
body.appendChild(script);
}
inc("jscripts/HelpWindow.js");
inc("jscripts/shortcut.js");
{
var body = document.getElementsByTagName('head')[0];
script = document.createElement('script');
script.src = filename;
script.type = 'text/javascript';
body.appendChild(script);
}
inc("jscripts/HelpWindow.js");
inc("jscripts/shortcut.js");
Subscribe to:
Posts (Atom)