Fails based on that it still hits the server on each request... does a visit_url on every call.![]()
I am using it once per logon, to debug a problem I am having with my store budget
hopefully can turn it off in a couple of weeks.
Dave
Fails based on that it still hits the server on each request... does a visit_url on every call.![]()
New version of the gametime_to_int function, this time without random bits of monster level code from when I was trying to piece together... who knows what.
Lack of general interest, I believe? Only people that used it were myself and bordemstirs, and nobody else actually expressed interest in having it in the source. Its usage in timing and other such things makes it more appealing now though.
I just used it for a minor profileing experiment!![]()
Useful? Sort of. Does it say what spent time where? Not really. If we turned each test into its own function, would it have been more useful? Probably.> profile speed
Test 1
1000 Iterations full loop (type="food" took 16945ms
Test 2
1000 Iterations (full loop, fullness > 0) took 19374ms
Test 3
1000 Iterations (fullness.text) took 7378ms
Test 4
1000 Iterations (fullness.text(pre loaded)) took 1631ms
Test 1
1000 Iterations full loop (type="food" took 16491ms
Test 2
1000 Iterations (full loop, fullness > 0) took 27369ms
Test 3
1000 Iterations (fullness.text) took 10532ms
Test 4
1000 Iterations (fullness.text(pre loaded)) took 1788ms
Test 1
1000 Iterations full loop (type="food" took 19248ms
Test 2
1000 Iterations (full loop, fullness > 0) took 22166ms
Test 3
1000 Iterations (fullness.text) took 7651ms
Test 4
1000 Iterations (fullness.text(pre loaded)) took 2371ms
Count Total Net Name (sorted by total time)
1 152.995 130.76 toplevel
3003 18.859 18.859 file_to_map(string, aggregate)
15027000 3.35 3.35 item_type(item)
24 0.024 0.024 print_html(string)
24 0.0020 0.0020 gametime_to_int()
Count Total Net Name (sorted by net time)
1 152.995 130.76 toplevel
3003 18.859 18.859 file_to_map(string, aggregate)
15027000 3.35 3.35 item_type(item)
24 0.024 0.024 print_html(string)
24 0.0020 0.0020 gametime_to_int()