# File lib/liquid/profiler.rb, line 73 def self.profile_token_render(token) if Profiler.current_profile && token.respond_to?(:render) Profiler.current_profile.start_token(token) output = yield Profiler.current_profile.end_token(token) output else yield end end