Forum Discussion
VictorC
Apr 05, 2012Nimbostratus
Performance question on 2 iRules
Hi all,
I have 2 different iRules I am using and they both do the same thing so that I can conserve IP addresses. I was wondering if there was any performance hit on a LTM running 10.2 if I...
hooleylist
Apr 05, 2012Cirrostratus
I thought the exact match would be more efficient also until I tried a test with tlcsh.
% time {switch www.example.com { test.example.com { } sub.example.com { } www.example.com { } }} 100
1 microseconds per iteration
% time {switch www.example.com { test.* { } sub.* { } www.* { } }} 100
0 microseconds per iteration
You check this with your iRule using timing:
https://devcentral.f5.com/wiki/iRules.timing.ashx
Aaron
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects