Comparing iRule Control Statements
A ways back, we put up an article titled “Ten Steps to iRules Optimization - DevCentral” in which we illustrated a few simple steps to making your iRules faster. Item #3 in that article was “Underst...
Updated Jun 23, 2023
Version 2.0Jan 13, 2011
Thanks Chris and Jason. I think I'll need to write another article just on the lessons learned when trying to build self profiling iRules. One example was including the "clock click" commands within the eval statement. At first I had them outside, but the data was all wonky as the overhead on eval parsing the expression for the very large lists threw things off. Hat tip to Colin for recommending moving them inside the eval.
I also found another fun issue with certain cases having "clock clicks" shifting the clock backwards between calls. I'm still trying to figure that one out...
Anyway, it was a fun article and I'll hat tip Jason on the idea of the Google Charts. They may look familiar to his previous article...
-Joe