Apex Speed Test Experiments
“It doesn’t matter how beautiful your theory is, it doesn’t matter how smart you are. If it doesn’t agree with experiment, it’s wrong.” -Richard P. Feynman
These experiments check that are we doing something wrong while writing code? What thing is good to write or what is not? Is your single line of code killing the CPU limit?
I am doing experiments whatever I found. You are most welcome here, If you have anything which can be added in these experiments
- Does System.Debug() cost CPU limit?
- Which One is Fast to Compare String Using ==, equals and equalsIgnoreCase?
- Filtering records using List of ID versus List of sObject in SOQL (Saved 5200 ms)
More are coming as my research is going on…