How to determine the execution time of a Lua script in Redis?
I have a small Lua script to run in Redis, and I'm interested in getting the execution time. Due to the nature of Redis and it's Lua implementation, I cannot use the TIME function at the start/return points of the script, and include this information in the return for processing (See http://redis.io/commands/eval - Scripts as pure functions). This results in an error: (error) ERR Error running script (call to f_a49ed2fea72f1f529843d6024d1515e76e69bcbd): Write commands not allowed after non deterministic commands I have searched around for a function/call I could make which will return the