File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
packages/workers-shared/asset-worker/src Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @cloudflare/workers-shared " : minor
3+ ---
4+
5+ Rollout interpolation search method for asset manifests (1 / 20,000 requests)
Original file line number Diff line number Diff line change @@ -217,7 +217,7 @@ export default class extends WorkerEntrypoint<Env> {
217217 const analytics = new ExperimentAnalytics ( this . env . EXPERIMENT_ANALYTICS ) ;
218218 const performance = new PerformanceTimer ( this . env . UNSAFE_PERFORMANCE ) ;
219219
220- const INTERPOLATION_EXPERIMENT_SAMPLE_RATE = 0 ;
220+ const INTERPOLATION_EXPERIMENT_SAMPLE_RATE = 1 / 20_000 ; // 0.00005 = 0.005%
221221 let searchMethod : "binary" | "interpolation" = "binary" ;
222222 if ( Math . random ( ) < INTERPOLATION_EXPERIMENT_SAMPLE_RATE ) {
223223 searchMethod = "interpolation" ;
You can’t perform that action at this time.
0 commit comments