pboling/react-rails-benchmark_renderer

View on GitHub
lib/react/server_rendering/benchmark_renderer.rb

Summary

Maintainability
A
0 mins
Test Coverage
require "react/server_rendering/concerns/instrumentation"

# Extends SprocketsRenderer for benchmarking in the Rails environment
# - benchmarks rendering in the same manner as Rails view rendering is benchmarked by Rails
module React
  module ServerRendering
    class BenchmarkRenderer < SprocketsRenderer
      include Concerns::Instrumentation
    end
  end
end