* @copyright Copyright (c) 2026 Samuel Marshall / JCH Optimize * @license GNU/GPLv3, or later. See LICENSE file * * If LICENSE file missing, see . */ namespace JchOptimize\Core\Debug; class NullProfiler implements JchProfilerInterface { public function start(string $name): void { } public function stop(): void { } public function profile(string $name, callable $fn): mixed { return $fn(); } public function measure(string $name, callable $fn): mixed { return $fn(); } }