Skip to content

Std lib/doc search#259

Open
gpwclark wants to merge 2 commits intomainfrom
std-lib/doc-search
Open

Std lib/doc search#259
gpwclark wants to merge 2 commits intomainfrom
std-lib/doc-search

Conversation

@gpwclark
Copy link
Copy Markdown
Member

@gpwclark gpwclark commented Mar 8, 2026

add ability to search slosh documentation with (doc-search)

  • a few different methods for searching (regular case insensitive, fuzzy, regex)
  • filter by namespace/section/fields
  • some highlighting/coloring stuff

goal is it should just be a bit easier to find documentation for certain things directly in the shell.

@gpwclark gpwclark force-pushed the std-lib/doc-search branch from 3508cb9 to d5ea519 Compare March 8, 2026 18:39
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 8, 2026

🐰 Bencher Report

Branchstd-lib/doc-search
Testbedubuntu-latest

🚨 4 Alerts

BenchmarkMeasure
Units
ViewBenchmark Result
(Result Δ%)
Lower Boundary
(Limit %)
optimized_float_fifty_thousandLatency
milliseconds (ms)
📈 plot
🚷 threshold
🚨 alert (🔔)
464.52 ms
(-8.68%)Baseline: 508.69 ms
468.75 ms
(100.91%)

optimized_float_one_hundredLatency
microseconds (µs)
📈 plot
🚷 threshold
🚨 alert (🔔)
932.87 µs
(-8.51%)Baseline: 1,019.61 µs
953.61 µs
(102.22%)

optimized_float_one_thousandLatency
milliseconds (ms)
📈 plot
🚷 threshold
🚨 alert (🔔)
9.30 ms
(-7.84%)Baseline: 10.09 ms
9.46 ms
(101.74%)

optimized_float_ten_thousandLatency
milliseconds (ms)
📈 plot
🚷 threshold
🚨 alert (🔔)
91.48 ms
(-9.59%)Baseline: 101.19 ms
94.48 ms
(103.27%)

Click to view all benchmark results
BenchmarkLatencyBenchmark Result
microseconds (µs)
(Result Δ%)
Lower Boundary
microseconds (µs)
(Limit %)
Upper Boundary
microseconds (µs)
(Limit %)
continuation_vec_search_one_hundred📈 view plot
🚷 view threshold
7,815.30 µs
(+5.98%)Baseline: 7,374.22 µs
5,961.39 µs
(76.28%)
8,787.05 µs
(88.94%)
continuation_vec_search_one_thousand📈 view plot
🚷 view threshold
8,323.60 µs
(+7.62%)Baseline: 7,734.45 µs
6,370.14 µs
(76.53%)
9,098.76 µs
(91.48%)
continuation_vec_search_ten_thousand📈 view plot
🚷 view threshold
11,753.00 µs
(+6.38%)Baseline: 11,048.55 µs
9,793.35 µs
(83.33%)
12,303.74 µs
(95.52%)
float_one_hundred📈 view plot
🚷 view threshold
8,498.70 µs
(-4.31%)Baseline: 8,881.28 µs
7,647.60 µs
(89.99%)
10,114.95 µs
(84.02%)
float_one_thousand📈 view plot
🚷 view threshold
27,977.00 µs
(-2.58%)Baseline: 28,718.64 µs
24,932.83 µs
(89.12%)
32,504.44 µs
(86.07%)
float_ten_thousand📈 view plot
🚷 view threshold
223,010.00 µs
(-1.54%)Baseline: 226,492.27 µs
195,352.21 µs
(87.60%)
257,632.33 µs
(86.56%)
optimized_float_fifty_thousand📈 view plot
🚷 view threshold
🚨 view alert (🔔)
464,520.00 µs
(-8.68%)Baseline: 508,695.00 µs
468,746.65 µs
(100.91%)

548,643.35 µs
(84.67%)
optimized_float_one_hundred📈 view plot
🚷 view threshold
🚨 view alert (🔔)
932.87 µs
(-8.51%)Baseline: 1,019.61 µs
953.61 µs
(102.22%)

1,085.61 µs
(85.93%)
optimized_float_one_thousand📈 view plot
🚷 view threshold
🚨 view alert (🔔)
9,299.90 µs
(-7.84%)Baseline: 10,090.65 µs
9,462.00 µs
(101.74%)

10,719.29 µs
(86.76%)
optimized_float_ten_thousand📈 view plot
🚷 view threshold
🚨 view alert (🔔)
91,484.00 µs
(-9.59%)Baseline: 101,187.36 µs
94,478.48 µs
(103.27%)

107,896.24 µs
(84.79%)
recursive_vec_search_one_hundred📈 view plot
🚷 view threshold
7,851.20 µs
(+6.43%)Baseline: 7,376.88 µs
5,990.26 µs
(76.30%)
8,763.50 µs
(89.59%)
recursive_vec_search_one_thousand📈 view plot
🚷 view threshold
8,256.30 µs
(+7.59%)Baseline: 7,673.70 µs
6,316.62 µs
(76.51%)
9,030.79 µs
(91.42%)
recursive_vec_search_ten_thousand📈 view plot
🚷 view threshold
11,260.00 µs
(+6.88%)Baseline: 10,534.85 µs
9,310.40 µs
(82.69%)
11,759.30 µs
(95.75%)
🐰 View full continuous benchmarking report in Bencher

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 8, 2026

🐰 Bencher Report

Branchstd-lib/doc-search
Testbedubuntu-latest

⚠️ WARNING: No Threshold found!

Without a Threshold, no Alerts will ever be generated.

Click here to create a new Threshold
For more information, see the Threshold documentation.
To only post results if a Threshold exists, set the --ci-only-thresholds flag.

Click to view all benchmark results
BenchmarkEstimated Cyclesestimated cycles x 1e6Instructionsinstructions x 1e6L1 Hitshits x 1e6L2 HitshitsRAM HitshitsTotal read+writereads/writes x 1e6
iai::float::float_one_hundred📈 view plot
⚠️ NO THRESHOLD
127.47 x 1e6📈 view plot
⚠️ NO THRESHOLD
91.51 x 1e6📈 view plot
⚠️ NO THRESHOLD
126.29 x 1e6📈 view plot
⚠️ NO THRESHOLD
130,755.00📈 view plot
⚠️ NO THRESHOLD
14,965.00📈 view plot
⚠️ NO THRESHOLD
126.44 x 1e6
iai::float::float_one_thousand📈 view plot
⚠️ NO THRESHOLD
416.63 x 1e6📈 view plot
⚠️ NO THRESHOLD
302.45 x 1e6📈 view plot
⚠️ NO THRESHOLD
415.45 x 1e6📈 view plot
⚠️ NO THRESHOLD
130,765.00📈 view plot
⚠️ NO THRESHOLD
14,964.00📈 view plot
⚠️ NO THRESHOLD
415.60 x 1e6
iai::float::float_ten_thousand📈 view plot
⚠️ NO THRESHOLD
3,308.16 x 1e6📈 view plot
⚠️ NO THRESHOLD
2,411.77 x 1e6📈 view plot
⚠️ NO THRESHOLD
3,306.98 x 1e6📈 view plot
⚠️ NO THRESHOLD
130,829.00📈 view plot
⚠️ NO THRESHOLD
14,978.00📈 view plot
⚠️ NO THRESHOLD
3,307.13 x 1e6
iai::float::optimized_float_fifty_thousand📈 view plot
⚠️ NO THRESHOLD
8,062.39 x 1e6📈 view plot
⚠️ NO THRESHOLD
6,133.22 x 1e6📈 view plot
⚠️ NO THRESHOLD
8,062.37 x 1e6📈 view plot
⚠️ NO THRESHOLD
60.00📈 view plot
⚠️ NO THRESHOLD
526.00📈 view plot
⚠️ NO THRESHOLD
8,062.37 x 1e6
iai::float::optimized_float_one_hundred📈 view plot
⚠️ NO THRESHOLD
16.17 x 1e6📈 view plot
⚠️ NO THRESHOLD
12.28 x 1e6📈 view plot
⚠️ NO THRESHOLD
16.15 x 1e6📈 view plot
⚠️ NO THRESHOLD
58.00📈 view plot
⚠️ NO THRESHOLD
526.00📈 view plot
⚠️ NO THRESHOLD
16.15 x 1e6
iai::float::optimized_float_one_thousand📈 view plot
⚠️ NO THRESHOLD
161.29 x 1e6📈 view plot
⚠️ NO THRESHOLD
122.68 x 1e6📈 view plot
⚠️ NO THRESHOLD
161.27 x 1e6📈 view plot
⚠️ NO THRESHOLD
58.00📈 view plot
⚠️ NO THRESHOLD
526.00📈 view plot
⚠️ NO THRESHOLD
161.27 x 1e6
iai::float::optimized_float_ten_thousand📈 view plot
⚠️ NO THRESHOLD
1,612.51 x 1e6📈 view plot
⚠️ NO THRESHOLD
1,226.66 x 1e6📈 view plot
⚠️ NO THRESHOLD
1,612.49 x 1e6📈 view plot
⚠️ NO THRESHOLD
59.00📈 view plot
⚠️ NO THRESHOLD
526.00📈 view plot
⚠️ NO THRESHOLD
1,612.49 x 1e6
iai::recursion_and_continuations::continuation_vec_search_one_hundred📈 view plot
⚠️ NO THRESHOLD
116.13 x 1e6📈 view plot
⚠️ NO THRESHOLD
82.89 x 1e6📈 view plot
⚠️ NO THRESHOLD
114.74 x 1e6📈 view plot
⚠️ NO THRESHOLD
154,650.00📈 view plot
⚠️ NO THRESHOLD
17,784.00📈 view plot
⚠️ NO THRESHOLD
114.91 x 1e6
iai::recursion_and_continuations::continuation_vec_search_one_thousand📈 view plot
⚠️ NO THRESHOLD
121.61 x 1e6📈 view plot
⚠️ NO THRESHOLD
86.35 x 1e6📈 view plot
⚠️ NO THRESHOLD
120.02 x 1e6📈 view plot
⚠️ NO THRESHOLD
159,647.00📈 view plot
⚠️ NO THRESHOLD
22,399.00📈 view plot
⚠️ NO THRESHOLD
120.21 x 1e6
iai::recursion_and_continuations::continuation_vec_search_ten_thousand📈 view plot
⚠️ NO THRESHOLD
171.77 x 1e6📈 view plot
⚠️ NO THRESHOLD
119.62 x 1e6📈 view plot
⚠️ NO THRESHOLD
169.09 x 1e6📈 view plot
⚠️ NO THRESHOLD
187,744.00📈 view plot
⚠️ NO THRESHOLD
49,820.00📈 view plot
⚠️ NO THRESHOLD
169.33 x 1e6
iai::recursion_and_continuations::recursive_vec_search_one_hundred📈 view plot
⚠️ NO THRESHOLD
116.03 x 1e6📈 view plot
⚠️ NO THRESHOLD
82.82 x 1e6📈 view plot
⚠️ NO THRESHOLD
114.64 x 1e6📈 view plot
⚠️ NO THRESHOLD
154,361.00📈 view plot
⚠️ NO THRESHOLD
17,751.00📈 view plot
⚠️ NO THRESHOLD
114.81 x 1e6
iai::recursion_and_continuations::recursive_vec_search_one_thousand📈 view plot
⚠️ NO THRESHOLD
116.04 x 1e6📈 view plot
⚠️ NO THRESHOLD
82.83 x 1e6📈 view plot
⚠️ NO THRESHOLD
114.65 x 1e6📈 view plot
⚠️ NO THRESHOLD
154,209.00📈 view plot
⚠️ NO THRESHOLD
17,744.00📈 view plot
⚠️ NO THRESHOLD
114.82 x 1e6
iai::recursion_and_continuations::recursive_vec_search_ten_thousand📈 view plot
⚠️ NO THRESHOLD
163.54 x 1e6📈 view plot
⚠️ NO THRESHOLD
113.81 x 1e6📈 view plot
⚠️ NO THRESHOLD
160.86 x 1e6📈 view plot
⚠️ NO THRESHOLD
187,392.00📈 view plot
⚠️ NO THRESHOLD
49,759.00📈 view plot
⚠️ NO THRESHOLD
161.09 x 1e6
🐰 View full continuous benchmarking report in Bencher

@gpwclark gpwclark self-assigned this Mar 8, 2026
@gpwclark gpwclark requested a review from sstanfield March 8, 2026 19:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant