rails-profiler 0.30.2 → 0.30.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/builds/profiler.js +13 -5
- data/lib/profiler/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 3cc97292b89b1be664408c01611a72768b1212467b9149268ab1d16c8d90219e
|
|
4
|
+
data.tar.gz: f9b2cc7d021b18d65dd0b5232269c4cf1657071d6b0c9416f90ed5df75f16ed3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '06952a2a976fbd59b49016384d11150b0a394e4e4c902446740e0d328b4c6fbaf7474277e0341ae87dd479de064aa7d80cbac2d289b66a2b886baa3d08b452b2'
|
|
7
|
+
data.tar.gz: 4dc610ff0b4f4aea0f52c76539bb06bfd068f1ebbad87840e2b8448239da77f38fc7ee4e977040f616137bdc06f04e8cfd7936fcf62e80f3d37d36a8016a873a
|
|
@@ -9611,20 +9611,28 @@ Duration: ${event.duration.toFixed(2)}ms`;
|
|
|
9611
9611
|
const profile = JSON.parse(dataEl.textContent);
|
|
9612
9612
|
const tab = new URLSearchParams(location.search).get("tab") || "request";
|
|
9613
9613
|
const embedded = showEl.dataset.embedded === "true";
|
|
9614
|
+
let dashboard;
|
|
9614
9615
|
if (profile.profile_type === "job") {
|
|
9615
|
-
|
|
9616
|
+
dashboard = /* @__PURE__ */ u3(JobProfileDashboard, { profile, initialTab: tab, embedded });
|
|
9616
9617
|
} else if (profile.profile_type === "console") {
|
|
9617
|
-
|
|
9618
|
+
dashboard = /* @__PURE__ */ u3(ConsoleProfileDashboard, { profile, initialTab: tab, embedded });
|
|
9618
9619
|
} else if (profile.profile_type === "test") {
|
|
9619
|
-
|
|
9620
|
+
dashboard = /* @__PURE__ */ u3(TestProfileDashboard, { profile, initialTab: tab, embedded });
|
|
9620
9621
|
} else {
|
|
9621
|
-
|
|
9622
|
+
dashboard = /* @__PURE__ */ u3(ProfileDashboard, { profile, initialTab: tab, embedded });
|
|
9622
9623
|
}
|
|
9624
|
+
J(
|
|
9625
|
+
/* @__PURE__ */ u3(QueryClientProvider, { client: queryClient, children: dashboard }),
|
|
9626
|
+
showEl
|
|
9627
|
+
);
|
|
9623
9628
|
}
|
|
9624
9629
|
}
|
|
9625
9630
|
const testRunnerEl = document.getElementById("profiler-test-runner");
|
|
9626
9631
|
if (testRunnerEl) {
|
|
9627
|
-
J(
|
|
9632
|
+
J(
|
|
9633
|
+
/* @__PURE__ */ u3(QueryClientProvider, { client: queryClient, children: /* @__PURE__ */ u3(TestRunnerPage, {}) }),
|
|
9634
|
+
testRunnerEl
|
|
9635
|
+
);
|
|
9628
9636
|
}
|
|
9629
9637
|
if (!indexEl && !showEl && !testRunnerEl) {
|
|
9630
9638
|
const header = document.querySelector(".header, .profiler-detail");
|
data/lib/profiler/version.rb
CHANGED