https://commons.wikimedia.org/wiki/Module:Sandbox/Commonscat queries the single statement P373 (Commons category). When running this on a small object (e.g. with {{#invoke:Sandbox/Commonscat|getCommonscat|Q1958152}} on commons), the profiling data reports 6 or 7 milliseconds Lua time. However, when running it on a large object like Q30, it takes significantly more, around 100 milliseconds.
My understanding of the documentation for mw.wikibase.getBestStatements is that it only loads the one property that's queried, not the whole object, so there would be no reason why querying a large object would differ in performance from querying a small object.