Displaying 1 result from an estimated 1 matches for "all_user_fold".
2007 Jul 31
2
merb speed
...t_cookie_store("cookie.dat")
client.post(url, {:user_login => login, :user_password => pwd})
client_time = []
all_client_avg = []
all_server_avg = []
$total_client_avg = []
$total_server_avg = []
num_iterations.times do |i|
folders = YAML.load(client.get_content("#{url}/folder/all_user_folders"))
folders.each do |folder|
client_time << Benchmark.realtime do
response_size = client.post("#{url}/resources/set_current_folder",
{:folder => $folder}).content.length
end
end
client_avg = (client_time.inject(0) {|sum, element| sum + element}) /
client_time.le...