How can I display benchmark processing time? I know this is an old topic but with the recent changes in Miva9 it may be relevant again.
I've tried different values for the time zone, local, -3 etc. and can't get it to work. The g.benchmark_open evaluates but the g.benchmark_close does not.
Also, how do you get it to evaluate in milliseconds?
Code:
<mvt:assign name="g.benchmark_open" value="time_t_sec(s.dyn_time_t, s.dyn_stm_zone)" /> // <mvt:assign name="g.benchmark_close" value="time_t_sec(s.dyn_time_t, s.dyn_stm_zone)" /> <mvt:assign name="g.benchmark_processing" value="g.benchmark_close - g.benchmark_open" /> <script> console.log("Benchmark_Processing: &mvt:global:benchmark_processing;"); </script>
Also, how do you get it to evaluate in milliseconds?
Comment