• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
hi i am new please teach me about benchmarking details

Hi I am new to CI.
I know the output of elapsed_time() function is number format, but how do you convert it to sec?(cast to double then times 1000?)
I also do not understand the memory_usage() function. The user guide says that function will show the memory consumption of the entire system! Does it means if my server only serve one user, that user only opened one session and the memory consumption in my view shows 1.7MB, then if 20 users are connected to that page, the total amount of memory usage of the entire application will be 34MB?

thanks in advance

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.