Egregius wrote: ↑Monday 01 January 2018 7:32
Don't know, mine is at 6 msec.
Completed the migration. Some typos that resulted in a fatal error. Had to create tons of additional empty php files to store the values.
Still have to figure out an ideal way for debugging.
Only 1 or 2 functions still need some work.
So I could do some speed comparison.
, How did you measure
At the moment I can run Pass2PHP in 2 ways:
- the JSON way ( system load average: 0.84, 1.33, 1.44 )
Code: Select all
2018-01-01 11:51:32.728 User: Admin initiated a switch command (1360/Holiday/On)
2018-01-01 11:51:32.789 dzVents: 0. just before cb64json
2018-01-01 11:51:32.791 dzVents: 1. Encoding started at time: 1774.23
2018-01-01 11:51:32.796 dzVents: 2. Encoding finished at time: 1774.24
2018-01-01 11:51:32.811 dzVents: 3. Curl finished at time: 1774.24
2018-01-01 11:51:32.890 User: Admin initiated a switch command (1314/YeeLight LED (Color)/On)
On average 160.
- The Memory way. ( system load average: 1.68, 1.62, 1.49 )
Code: Select all
2018-01-01 12:00:24.740 User: Admin initiated a switch command (1360/Holiday/On)
2018-01-01 12:00:24.874 User: Admin initiated a switch command (1314/YeeLight LED (Color)/On)
On average 134
It's a bit faster indeed. However for some reason a bit more load for the system.
Cache results:
Code: Select all
Hits: 100% 1.586.132 hits / 421 misses