rails-profiler 0.14.0 → 0.16.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 44b1fd924fe2eb7f0483bc36f0e3956e81535da3ce39e60f6e29c091194f22ce
4
- data.tar.gz: c840abbc0813c4e8c9516c507138e4ead25e9980f5c02a3306461b1a308ff6e3
3
+ metadata.gz: 786465dc498178e1ab9256de7b02b397df7db82b4fc817fc3adbe191d8170fcd
4
+ data.tar.gz: acdeb2a1cdb00a59429bdf14a75f0551c4e94e65787b0640096dd5e044520999
5
5
  SHA512:
6
- metadata.gz: 3d5307f599d3822291a99d931cacb1dc70218e32a120e136cebe98790e89f803e0ad84a5520b6961279c88048a7c2262c91600d770f07639cb5e31be32ff3e5a
7
- data.tar.gz: 341cfa488dd91fe1b566dfc7c0a4d28dd6ab42e5fb0eb874250ca4b0482e3bb154d398c1c0919fef09a812a1cae7f897542b5702eb097c83e80e534cbbf777bd
6
+ metadata.gz: 5e6e51705278a372284b5936aab067c5c1fc09d257561b2787e9d8a5847f608c1cdc2149b74259abc9f411b48e8369f5fd368fd934b13eb8c2a47efbafd27651
7
+ data.tar.gz: f2cf3377ba982ee6135a0040d4f9d1c588c7255724d72d5fde8a38ed53cba188a40a669fa28161b906e3cc401b46405a2c24aac5d5438233e854b2e3c2ec3b74
@@ -2702,6 +2702,53 @@ a.profiler-toolbar-item.profiler-text--warning::after {
2702
2702
  .profiler-fn-profiling__toggle--active:hover {
2703
2703
  background: rgba(245, 158, 11, 0.15);
2704
2704
  }
2705
+ .profiler-fn-profiling__mode-selector {
2706
+ display: inline-flex;
2707
+ border: 1px solid var(--profiler-border-strong);
2708
+ border-radius: var(--profiler-radius-sm);
2709
+ overflow: hidden;
2710
+ }
2711
+ .profiler-fn-profiling__mode-btn {
2712
+ height: 28px;
2713
+ padding: 0 12px;
2714
+ background: var(--profiler-bg-lighter);
2715
+ border: none;
2716
+ border-right: 1px solid var(--profiler-border-strong);
2717
+ color: var(--profiler-text-muted);
2718
+ font-size: var(--profiler-text-xs);
2719
+ font-weight: 600;
2720
+ font-family: var(--profiler-font-sans);
2721
+ cursor: pointer;
2722
+ transition: all var(--profiler-transition-base);
2723
+ white-space: nowrap;
2724
+ }
2725
+ .profiler-fn-profiling__mode-btn:last-child {
2726
+ border-right: none;
2727
+ }
2728
+ .profiler-fn-profiling__mode-btn:hover:not(:disabled):not(.profiler-fn-profiling__mode-btn--active) {
2729
+ background: var(--profiler-bg-elevated);
2730
+ color: var(--profiler-text);
2731
+ }
2732
+ .profiler-fn-profiling__mode-btn--active {
2733
+ background: var(--profiler-accent-bg);
2734
+ color: var(--profiler-accent);
2735
+ cursor: default;
2736
+ }
2737
+ .profiler-fn-profiling__mode-btn:disabled {
2738
+ opacity: 0.5;
2739
+ cursor: not-allowed;
2740
+ }
2741
+ .profiler-fn-profiling__cpu-pct {
2742
+ color: var(--profiler-text-subtle);
2743
+ font-size: 0.85em;
2744
+ }
2745
+ .profiler-fn-profiling__gc--medium {
2746
+ color: #f59e0b;
2747
+ }
2748
+ .profiler-fn-profiling__gc--high {
2749
+ color: #ef4444;
2750
+ font-weight: 600;
2751
+ }
2705
2752
  .profiler-fn-profiling__hint {
2706
2753
  margin: 12px 0 0;
2707
2754
  padding: 10px 14px;