...
Method | Before (avg. 4 runs) | After (avg. 6 runs) | Notes | |||||
---|---|---|---|---|---|---|---|---|
# Calls | Time Spent (ms) | % | # Calls | Time Spent (ms) | % | |||
query module references | 500 | 1,017 | 7% | 2 | 5 | 0% | ||
get modules from DMI | 100-200 | 1,326 | 9% | 2 | 13 | 0% | ||
store schema set | 500 | 10,449 | 73% | 500 | 5,156 | 86% | 2 x faster. Probably due to less contention with read queries | |
update states | 5+ | 1,429 | 10% | 5+ | 833 | 14% | 1.7 x faster | |
Total | 14,221 | 100% | 6,006100% | > 2 x faster! |
Extrapolated Results for 20,000 Nodes and DMI Delay
...