I’m running 2 separate sites/Applications under a single install of ColdFusion.
The execution time of SQL statements is different depending on the site they are run in.
If, for example, I run the following SQL Server command:
DBCC USEROPTIONS
Site 1 consistently executes in 0 or 1 ms:

Site 2 consistently executes in around 20 ms:

Both sites are using the same CF datasource set up in the CFIDE admin.
What else could account for the variation I am seeing?
Thanks,
Stu
OK – I think I’ve found the reason for this.
In the Site 1 example another DB query had run before my test query.
In the Site 2 example the test query was the first to run.
Presumably the extra ms are just DB connection setup overhead.
Mystery solved. Not the smoking gun I was looking for.