require 'stackprofiler' require 'stackprofiler/middleware' use Stackprofiler::Middleware, ui_url: 'http://localhost:9260/receive', predicate: /json/ # run Stackprofiler::WebUI.new file: 'crap/q2.json' run Stackprofiler::WebUI.new file: 'crap/portal.json' # run Stackprofiler::WebUI.new file: 'threads.json'