mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
a2143680e8
This small piece of metadata is intended to expose record counts to developers as an information radiator: from time to time, SilverStripe tables can get very large, and this exposes this information without the developer seeking it out. It’s reasonable to expect that count(*) calls aren’t too time consuming, even on large tables. On a small test run, dev/build execution went from 3.85s to 3.98s (a 3% or 130ms increase). Given the small relative impact it should be okay. Where this is inappropriate, it can be disabled with a config setting.