PageSourceSearch

https://zilliz.com/_next/static/chunks/pages/vdbbench-leaderboard-v2-25e2eb300a0f3ca3.js

js zilliz.com collected 2026-09-24 08:48:52 UTC 57,989 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[90155],{38593:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/vdbbench-leaderboard-v2",function(){return r(43149)}])},4845:function(e,t,r){"use strict";r.d(t,{V:function(){return d},a:function(){return u}});var a=r(31549),s=r(32203),l=r.n(s),o=r(14517),n=r(27328),i=r(44194),c=r(85119);let d=(0,i.forwardRef)((e,t)=>{let{label:r,placeholder:s,unit:c,value:d,onChange:u,onBlur:p,tooltip:h,validator:b,fullWidth:_,classes:m={},error:f=!1,errorPrompt:x="",disabled:v=!1}=e,{root:g,label:C,input:w}=m,[V,j]=(0,i.useState)(!1),N=(0,a.jsxs)("div",{children:[(0,a.jsxs)("div",{className:(0,o.Z)(l().inputContainer,g,{[l().fullWidth]:_,[l().error]:f,[l().disabledInputContainer]:v}),children:[r&&(0,a.jsx)("div",{className:(0,o.Z)(l().label,C),children:r}),(0,a.jsxs)("div",{className:l().inputWrapper,children:[(0,a.jsx)("input",{value:d,onChange:e=>{if(v)return;let t=e.target.value;(!b||b(t))&&u(t)},placeholder:s,className:(0,o.Z)(l().inputArea,w,{[l().disabledInput]:v}),onFocus:()=>{j(!0)},onBlur:()=>{p&&p(d),j(!1)},ref:t,disabled:v}),c&&(0,a.jsx)("span",{className:l().unit,children:c})]})]}),f&&x&&(0,a.jsx)("p",{className:l().errorPrompt,children:x})]});return(0,a.jsx)(a.Fragment,{children:h?(0,a.jsx)(n.n,{type:"custom",tooltip:h,disableMouseEvent:!0,open:V,tooltipConfig:{placement:"right"},children:N}):(0,a.jsx)(a.Fragment,{children:N})})}),u=e=>{let{classes:t={},label:r,...s}=e,{root:n,label:i,container:d,control:u,placeholder:b,menu:_,arrow:m}=t;return(0,a.jsxs)("div",{className:(0,o.Z)(l().dropdown,n),children:[r&&(0,a.jsx)("h5",{className:(0,o.Z)(l().dropdownLabel,i),children:r}),(0,a.jsx)(c.Z,{...s,arrowClosed:p,arrowOpen:h,className:(0,o.Z)(l().dropdownContainer,d),controlClassName:(0,o.Z)(l().dropdownControl,u),placeholderClassName:(0,o.Z)(l().dropdownPlaceholder,b),menuClassName:(0,o.Z)(l().dropdownMenu,_),arrowClassName:(0,o.Z)(l().dropdownArrow,m)})]})},p=(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"8",viewBox:"0 0 9 8",fill:"none",children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.29499 5.50135C4.41471 5.5993 4.58687 5.5993 4.70659 5.50135L7.45659 3.25135C7.59551 3.13769 7.61599 2.93293 7.50233 2.79401C7.38867 2.65509 7.18391 2.63462 7.04499 2.74828L4.50079 4.82989L1.95659 2.74828C1.81767 2.63462 1.61292 2.65509 1.49925 2.79401C1.38559 2.93293 1.40607 3.13769 1.54499 3.25135L4.29499 5.50135Z",fill:"#475467"})}),h=(0,a.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"8",viewBox:"0 0 9 8",fill:"none",style:{transform:"rotate(180deg)"},children:(0,a.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.29499 5.50135C4.41471 5.5993 4.58687 5.5993 4.70659 5.50135L7.45659 3.25135C7.59551 3.13769 7.61599 2.93293 7.50233 2.79401C7.38867 2.65509 7.18391 2.63462 7.04499 2.74828L4.50079 4.82989L1.95659 2.74828C1.81767 2.63462 1.61292 2.65509 1.49925 2.79401C1.38559 2.93293 1.40607 3.13769 1.54499 3.25135L4.29499 5.50135Z",fill:"#475467"})})},61930:function(e,t,r){"use strict";r.d(t,{S:function(){return n}});var a=r(31549),s=r(22562),l=r.n(s),o=r(14517);let n=e=>
1{let{label:t,value:r,onChange:s,placeholder:n,type:i="text",disabled:c=!1,inputRef:d,className:u,error:p,classes:h,isRequired:b=!1,fullWidth:_=!1,register:m,...f}=e,{message:x}=p||{},{root:v,label:g,input:C,errorMessage:w}=h||{};return(0,a.jsxs)("div",{className:(0,o.Z)(l().inputContainer,v),children:[t&&(0,a.jsxs)("label",{className:(0,o.Z)(l().label,g),children:[t,b&&(0,a.jsx)("span",{className:l().requiredMark,children:"*"})]}),(0,a.jsx)("input",{className:(0,o.Z)(l().input,C,{[l().errorInput]:x,[l().fullWidthInput]:_}),type:i,value:r,onChange:e=>{let t=e.target.value;s&&s(t)},placeholder:n,disabled:c,ref:d,...f,...m}),(0,a.jsx)("p",{className:(0,o.Z)(l().errorMessage,w),children:x})]})}},1626:function(e,t,r){"use strict";r.d(t,{S:function(){return d}});var a=r(31549),s=r(6503),l=r.n(s),o=r(14517),n=r(43311),i=r(68973),c=r.n(i);let d=e=>{let{options:t,value:r,onChange:s,classes:i={}}=e,d=(0,n.useRouter)(),{container:u,root:p="",button:h="",active:b="",inactive:_=""}=i,m=t.slice(0,2),f=e=>{e.value!==r&&(s&&s(e),e.href&&d.push(e.href))},x=e=>(null==e?void 0:e.href)?(0,a.jsx)(c(),{href:e.href,scroll:!0,className:(0,o.Z)(l().switchItem,h,{[l().activeItem]:r===e.value,[l().inactiveItem]:r!==e.value,[_]:r!==e.value,[b]:r===e.value}),onClick:t=>{t.preventDefault(),f(e)},children:e.label},e.value):(0,a.jsx)("button",{className:(0,o.Z)(l().switchItem,h,{[l().activeItem]:r===e.value,[l().inactiveItem]:r!==e.value,[_]:r!==e.value,[b]:r===e.value}),onClick:()=>f(e),children:e.label},e.value);return(0,a.jsx)("div",{className:(0,o.Z)(l().switchContainer,u),children:(0,a.jsx)("div",{className:(0,o.Z)(l().switchWrapper,p),children:m.map(e=>x(e))})})}},27328:function(e,t,r){"use strict";r.d(t,{n:function(){return u}});var a=r(31549),s=r(68735),l=r.n(s),o=r(44194),n=r(66656),i=r(14517),c=r(22180);let d=null,u=e=>{let{open:t,tooltip:r,title:s="",type:u="icon",children:p="",classes:h={},tooltipConfig:b={},icon:_,delay:m=!1,disableMouseEvent:f=!1,offset:x=[0,10]}=e,{root:v="",tooltip:g="",arrow:C="",label:w=""}=h,{placement:V="top",hideArrow:j=!1}=b,[N,L]=(0,o.useState)(t),[y,q]=(0,o.useState)(!1),S=(0,o.useRef)(null),M=(0,o.useRef)(null),z=(0,o.useRef)(null),k=_||(0,a.jsx)(c.sz,{}),{styles:I,attributes:T}=(0,n.D)(S.current,M.current,{modifiers:[{name:"arrow",options:{element:z.current}},{name:"offset",options:{offset:x}}],placement:V}),A=()=>{f||(m?(d&&clearTimeout(d),d=setTimeout(()=>{L(!1)},300)):L(!1))};return(0,o.useEffect)(()=>{L(t)},[t]),(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("div",{className:(0,i.Z)(l().referenceWrapper,v),children:"icon"===u?(0,a.jsxs)("div",{className:(0,i.Z)(l().titleWrapper,w),children:[(0,a.jsx)("p",{className:l().title,children:s}),(0,a.jsx)("div",{ref:S,className:l().iconWrapper,onMouseEnter:()=>{f||L(!0)},onMouseLeave:A,children:k})]}):(0,a.jsx)("div",{ref:S,onMouseEnter:()=>{f||L(!0)},onMouseLeave:A,className:(0,i.Z)(l().tooltipReferenceWrapper,w),children:p})}),(0,a.jsxs)("div",{ref:M,style:I.popper,...T.popper,className:(0,i.Z)(l().tooltipWrapper,g,{[l().show]:N||y}),onMouseEnter:()=>{f||q(!0)},onMouseLeave:()=>{f||q(!1)},children:[r,!j&&(0,a.jsx)("div",{ref:z,style:I.arrow,"data-popper-arrow":!0,className:(0,i.Z)(l().arrow,C,{[l().rightStartArrow]:"right-start"===V,[l().rightArrow]:"right"===V})})]})]})}},85360:function(e,t,r){"use strict";r.d(t,{S$:function(){return h},mp:function(){return u},mz:function(){return p}});var a=r(31549);r(44194);var s=r(68973),l=r.n(s),o=r(43311),n=r(14517),i=r(47096),c=r.n(i);let d=(e,t)=>e.split("?")[0].replace(/\/$/,"")===t.split("?")[0].replace(/\/$/,""),u=e=>{let{items:t,className:r,ariaLabel:s="Leaderboard view"}=e,{pathname:i}=(0,o.useRouter)();return(0,a.jsx)("div",{className:(0,n.Z)(c().wrapper,r),children:(0,a.jsx)("div",{className:c().switcher,role:"tablist","aria-label":s,children:t.map(e=>{let t=d(i,e.href);return(0,a.jsxs)(l(),{href:e.href,role:"tab","aria-selected":t,"aria-current":t?"page":void 0,className:(0,n.Z)(c().tab,t&&c().active),children:[(0,a.jsx)("span",{className:c().tabIcon,"aria-hidden":"true",children:e.icon}),(0,a.jsx)("span",{children:e.label}),e.badge&&(0,a.jsx)("span",{className:c().badge,children:e.badge})]},e.href)})})})},p=()=>(0,a.jsxs)("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)("rect",{x:"2",y:"9",width:"2.6",height:"5",rx:"0.6",fill:"currentColor"}),(0,a.jsx)("rect",{x:"6.7",y:"5.5",width:"2.6",height:"8.5",rx:"0.6",fill:"currentColor"}),(0,a.jsx)("rect",{x:"11.4",y:"2",width:"2.6",height:"12",rx:"0.6",fill:"currentColor"})]}),h=()=>(0,a.jsx)("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,a.jsx)("path",{d:"M10.3 5.4A2.4 2.4 0 0 0 8 4C6.6 4 5.5 4.8 5.5 6c0 1.3 1.1 1.7 2.5 2s2.5.7 2.5 2c0 1.2-1.1 2-2.5 2a2.4 2.4 0 0 1-2.3-1.4M8 2.5v11",stroke:"currentColor",strokeWidth:"1.4",strokeLinecap:"round",strokeLinejoin:"round",fill:"none"})})},43149:function(e,t,r){"use strict";r.r(t),r.d(t,{__N_SSG:function(){return eh},default:function(){return eb}});var a=r(31549),s=r(54854),l=r.n(s),o=r(62722);let n={zilliz_cloud_tiered_4cu:"Zilliz Cloud Tiered 4CU",zilliz_cloud_capacity_12cu:"Zilliz Cloud Capacity 12CU",zilliz_cloud_capacity_32cu:"Zilliz Cloud Capacity 32CU",zilliz_cloud_tiered_1cu:"Zilliz Cloud Tiered 1CU",zilliz_cloud_capacity_2cu:"Zilliz Cloud Capacity 2CU",zilliz_cloud_cap_12cu:"Zilliz Cloud Capacity 12CU",zillz_cloud_cap_12cu:"Zilliz Cloud Capacity 12CU",pinecone:"Pinecone Serverless",pinecone_serverless:"Pinecone Serverless",turbopuffer:"Turbopuffer",turbopuffer_bp_on:"Turbopuffer Backpressure On",turbopuffer_bp_off:"Turbopuffer Backpressure Off",turbopuffer_pinned:"Turbopuffer Pinned",turbopuffer_unpinned:"Turbopuffer"},i={"unfiltered/na":"unfiltered","int_filter/0.9":"int filter 90%","int_filter/0_1p":"int filter, 0.1% candidates","int_filter/1p":"int filter, 1% candidates","int_filter/10p":"int filter, 10% candidates","int_filter/99_9p":"int filter, 0.1% candidates","int_filter/99p":"int filter, 1% candidates","int_filter/90p":"int filter, 10% candidates","int_filter/50p":"int filter, 50% candidates","scalar_label_filter/0_1p":"label filter 0.1%","scalar_label_filter/0_2p":"label filter 0.2%","scalar_label_filter/0_5p":"label filter 0.5%","scalar_label_filter/1p":"label filter 1%","scalar_label_filter/2p":"label filter 2%","scalar_label_filter/5p":"label filter 5%","
1scalar_label_filter/10p":"label filter 10%","scalar_label_filter/20p":"label filter 20%","scalar_label_filter/50p":"label filter 50%"},c={zillizTiered:"#3aa84a",zillizCapacity:"#6cc1cf",zillizCapacity32:"#f2ee18",turbopuffer:"#ed6c2d",turbopufferPinned:"#a253c4",pinecone:"#e84d7a",neutral:"#64748b"},d="#1f88e5",u="https://github.com/zilliztech/VectorDBBench/blob/main/docs/release/2026-05-cloud-leaderboard.md",p={methodology:u,reproduce:u,addASystem:u,reportMistake:"https://github.com/zilliztech/VectorDBBench/issues/new",tryZillizCloudFree:"https://cloud.zilliz.com/signup?utm_page=vdbbench"};function h(e,t){let r=new Map;for(let a of e){let e=t(a);r.has(e)||r.set(e,[]),r.get(e).push(a)}return r}function b(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return null==e||Number.isNaN(e)?"n/a":Number(e).toLocaleString("en-US",{maximumFractionDigits:t})}function _(e){return null==e||Number.isNaN(e)?"n/a":e<1?"".concat((1e3*e).toFixed(0)," ms"):e<60?"".concat(e.toFixed(2)," s"):e<3600?"".concat((e/60).toFixed(1)," min"):"".concat((e/3600).toFixed(1)," hr")}function m(e){return null==e||Number.isNaN(e)?"n/a":"$".concat(b(e,e>=100?0:e>=10?1:2))}function f(e){return"ids_only"===e?"ids only":"vector"===e?"ids + vector":"scalar_label"===e?"ids + scalar label":e.replaceAll("_"," ")}function x(e){let t=(e||"").toLowerCase();return t.includes("zilliz")&&t.includes("tier")?c.zillizTiered:t.includes("zilliz")&&t.includes("capacity")?t.includes("32cu")?c.zillizCapacity32:c.zillizCapacity:t.includes("zilliz")?c.zillizTiered:t.includes("turbo")&&t.includes("pinned")?c.turbopufferPinned:t.includes("turbo")?c.turbopuffer:t.includes("pine")?c.pinecone:c.neutral}function v(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,r=(function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5,r=Math.max(1,e||1),a=function(e){if(!Number.isFinite(e)||e<=0)return 1;let t=10**Math.floor(Math.log10(e)),r=e/t;return[1,2,2.5,5,10].reduce((e,t)=>Math.abs(t-r)<Math.abs(e-r)?t:e)*t}(r/t),s=Math.ceil(r/a)*a,l=[];for(let e=0;e<=s+.25*a;e+=a)l.push(e);return l})(e,t).filter(t=>t<=e+1e-9),a=r[r.length-1];return(void 0===a||Math.abs(a-e)>1e-9)&&r.push(e),r}function g(e,t,r){if(e.qps===t.qps)return e.cost;let a=(r-e.qps)/(t.qps-e.qps);return e.cost+a*(t.cost-e.cost)}function C(e,t){if(!e.length)return null;let r=e.slice().sort((e,t)=>e.qps-t.qps);if(t<r[0].qps-1e-9||t>r[r.length-1].qps+1e-9)return null;if(t<=r[0].qps)return r[0].cost;for(let e=0;e<r.length-1;e+=1){let a=r[e],s=r[e+1];if(t>=a.qps-1e-9&&t<=s.qps+1e-9)return g(a,s,t)}return r[r.length-1].cost}function w(e){var t;return(null===(t=e.pricing)||void 0===t?void 0:t.monthly_hours)||730}let V={"Zilliz Capacity 12CU":"Zilliz Cloud Capacity 12CU","Zilliz Capacity 32CU":"Zilliz Cloud Capacity 32CU","Turbopuffer Pinned Mode (2 replicas)":"Turbopuffer Pinned (2 replicas)"};var j=r(44194),N=r(68973),L=r.n(N),y=r(14517),q=r(87646),S=r.n(q),M=r(9489),z=r.n(M),k=r(22614),I=r.n(k),T=r(73736),A=r(30549),B=r(75124),R=r(64773),F=r(16256),Z=r(65242),P=r(85360),W=r(61930),O=r(1626);let H="vdbbenchLeaderboardV2";function Q(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20;if(e.length<2)return e.slice();let r=[];for(let a=0;a<e.length-1;a+=1){let s=e[a],l=e[a+1];r.push(s);let o=l.qps-s.qps,n=l.cost-s.cost;for(let e=1;e<t;e+=1){let a=e/t;r.push({qps:s.qps+o*a,cost:s.cost+n*a})}}return r.push(e[e.length-1]),r}function E(e,t){let r=e(t,{returnObjects:!0});return Array.isArray(r)?r:[]}function U(e,t,r){return t?e("common.productLabels.".concat(t),{defaultValue:r}):r}function G(e,t,r){return e("common.filterLabels.".concat(t),{defaultValue:null!=r?r:t})}let D=e=>{let{value:t,format:r,duration:s}=e,l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,[r,a]=(0,j.useState)(e),s=(0,j.useRef)(e);return s.current=r,(0,j.useEffect)(()=>{let r=s.current;if(r===e)return;let l=performance.now(),o=0,n=s=>{let i=Math.min(1,(s-l)/t),c=r+(e-r)*(1-Math.pow(1-i,3));a(i>=1?e:c),i<1&&(o=requestAnimationFrame(n))};return o=requestAnimationFrame(n),()=>cancelAnimationFrame(o)},[e,t]),r}(t,s);return(0,a.jsx)(a.Fragment,{children:r(l)})},K={single:"unfiltered/na",multi:"int_filter/99p"},Y={single:"ids_only",multi:"vector"},$={latency:"#7E84FF",qps:"#1AC2CB"},J={root:S().floatingSelectorRoot,menu:S().floatingSelectorMenu},X=e=>{let{data:t}=e;return(0,a.jsx)("div",{className:S().root,children:(0,a.jsxs)("div",{className:z().container,children:[(0,a.jsx)(ee,{}),(0,a.jsx)(er,{}),(0,a.jsxs)("div",{className:S().content,children:[(0,a.jsx)(et,{}),(0,a.jsx)(es,{data:t}),(0,a.jsx)(ed,{data:t}),(0,a.jsx)(eu,{data:t}),(0,a.jsx)(ep,{data:t})]})]})})},ee=()=>{let{t:e}
1=(0,o.$G)(H),t=Object.keys(p).map((t,r)=>(0,a.jsxs)(j.Fragment,{children:[0!==r&&(0,a.jsx)("span",{className:I().subTitleLinkDivider}),(0,a.jsx)(L(),{href:p[t],target:"_blank",className:I().subTitleLink,children:e("head.subTitle.".concat(t))})]},t));return(0,a.jsx)("section",{className:I().wrapper,children:(0,a.jsxs)("header",{className:I().header,children:[(0,a.jsx)("div",{className:I().logo,style:{backgroundImage:"url(/images/benchmark/vdbLogo.svg)"}}),(0,a.jsxs)("div",{className:I().titleWrapper,children:[(0,a.jsxs)("h1",{className:I().title,children:[(0,a.jsx)("div",{className:I().titleText,children:(0,a.jsx)(L(),{className:I().titleLink,href:u,target:"_blank",children:e("head.title")})}),(0,a.jsxs)(L(),{className:I().homepageBtn,href:"/",children:[(0,a.jsx)(T.Gz,{}),(0,a.jsx)("span",{className:I().homepageBtnText,children:"zilliz.com"})]})]}),(0,a.jsx)("div",{className:I().subTitleLinks,children:t})]})]})})},et=()=>{let{t:e}=(0,o.$G)(H),t=e("datasetNote.items",{returnObjects:!0});if(!Array.isArray(t)||!t.length)return null;let r={copy:e("datasetNote.copy",{defaultValue:"Click to copy S3 URI"}),copied:e("datasetNote.copied",{defaultValue:"Copied!"})};return(0,a.jsxs)("section",{className:S().datasetNote,children:[(0,a.jsx)("p",{className:S().datasetNoteTitle,children:e("datasetNote.title")}),(0,a.jsx)("ol",{className:S().datasetNoteList,children:t.map((t,s)=>(0,a.jsx)("li",{children:(0,a.jsx)(o.cC,{t:e,i18nKey:"datasetNote.items.".concat(s,".text"),components:[(0,a.jsx)(Z.r,{url:t.url,labels:r},"s3")]})},s))})]})},er=()=>{let{t:e}=(0,o.$G)(H);return(0,a.jsx)(P.mp,{ariaLabel:e("switcher.ariaLabel",{defaultValue:"Leaderboard view"}),items:[{href:"/vdbbench-leaderboard",label:e("switcher.standard",{defaultValue:"Performance Leaderboard"}),icon:(0,a.jsx)(P.mz,{})},{href:"/vdbbench-leaderboard-v2",label:e("switcher.cloud",{defaultValue:"Cost Leaderboard"}),icon:(0,a.jsx)(P.S$,{})}]})},ea=e=>{let{id:t,title:r,description:s}=e,{t:l}=(0,o.$G)(H);return(0,a.jsx)("div",{className:S().sectionHeader,children:(0,a.jsxs)("div",{children:[(0,a.jsx)(A.n,{as:"h2",id:t,className:S().sectionTitle,labels:(0,A.y)(l),children:r}),(0,a.jsx)("div",{className:S().sectionDescription,children:s})]})})},es=e=>{let{data:t}=e,{t:r}
1=(0,o.$G)(H),[s,l]=(0,j.useState)("single"),[n,i]=(0,j.useState)("search"),[c,d]=(0,j.useState)("hourly"),[u,p]=(0,j.useState)("constant"),[b,_]=(0,j.useState)(50),[m,f]=(0,j.useState)(20),[v,g]=(0,j.useState)("asc"),C=(0,j.useMemo)(()=>{let e=function(e){var t;let{data:r,scenarioId:a,mode:s,period:l,writeMode:o}=e,n="monthly"===l?w(r.costModel):1,i=r.costModel.scenarios[a],c=i.points.map(e=>(function(e,t,r,a,s,l){var o;let n=t.search_cost_hr*a,i="search_storage"===r||"full"===r?(t.storage_cost_hr||0)*a:0,c="full"===r?function(e,t,r,a){var s,l,o,n,i;let c=function(e){let t=(e||"").toLowerCase();return t.includes("zilliz")?"zilliz":t.includes("pinecone")?"pinecone":t.includes("turbo")?"turbopuffer":"other"}(t.product);if("zilliz"===c)return 0;let d=function(e,t,r){var a,s;let l=(null===(s=e.pricing)||void 0===s?void 0:null===(a=s.scenarios)||void 0===a?void 0:a[t])||{},o=Number(l.record_count||0),n=Number(l.vector_data_gb||0),i=w(e);if(!o||!n||!i)return null;let c=Number(l.constant_write_requests_per_second||0),d=Number(l.batch_size_records||0),u="batch"===r&&d>0?d:o/Math.max(1,3600*i*c);return{recordCount:o,vectorDataGb:n,recordsPerRequest:u,requestsPerMonth:o/Math.max(1,u),requestBytes:1e9*n/o*u,monthlyHours:i}}(e,r,a);if(!d)return t.write_cost_hr||0;if("turbopuffer"===c){let t=(null===(s=e.pricing)||void 0===s?void 0:s.turbopuffer)||{},r=t.min_write_kb_per_request||10,a=t.write_usd_per_logical_gb||0,l=Math.max(d.requestBytes/1e3,r),c=!Number.isFinite(l)||l<=0?0:Math.max(0,Math.min(null!==(i=null===(n=e.pricing)||void 0===n?void 0:null===(o=n.turbopuffer)||void 0===o?void 0:o.batch_discount_cap)&&void 0!==i?i:.5,(Math.log10(l)-1)*.2));return d.requestsPerMonth*l*(1-c)/1e6*a/d.monthlyHours}if("pinecone"===c){let t=(null===(l=e.pricing)||void 0===l?void 0:l.pinecone)||{},r=t.write_unit_bytes||1024,a=t.min_write_units_per_request||5,s=t.write_usd_per_million_wu||0,o=Math.max(Math.ceil(d.requestBytes/r),a);return d.requestsPerMonth*o/1e6*s/d.monthlyHours}return t.write_cost_hr||0}(e,t,s,l)*a:0;return{product:V[o=t.product]||o,qps:t.qps,cost:n+i+c,searchCost:n,storageCost:i,writeCost:c}})(r.costModel,e,s,n,a,o)).filter(e=>e.qps>0&&e.cost>=0),d=Math.max(1,e.qpsMax||("multi"===a?150:50)),u="multi"===a?r.multiTenantSearch:r.payloadSearch,p=function(e,t,r){let a=r.filter(e=>"unfiltered/na"===e.filterKey&&"scalar_label"!==e.payload&&!e.mocked&&e.maxQps>0),s=new Map;for(let r of e){let e=function(e,t){let r=e.toLowerCase();return"single"===t?r.includes("tiered")?["zilliz_cloud_tiered_4cu"]:r.includes("capacity")?r.includes("32")?["zilliz_cloud_capacity_32cu"]:["zilliz_cloud_capacity_12cu","zilliz_cloud_cap_12cu","zillz_cloud_cap_12cu"]:r.includes("pinecone")?["pinecone_serverless","pinecone"]:r.includes("turbo")&&r.includes("pinned")?["turbopuffer_pinned"]:r.includes("turbo")?["turbopuffer_unpinned"]:[]:r.includes("tiered")?["zilliz_cloud_tiered_1cu"]:r.includes("capacity")?["zilliz_cloud_capacity_2cu"]:r.includes("pinecone")?["pinecone_serverless","pinecone"]:r.includes("turbo")?["turbopuffer"]:[]}(r,t);if(!e.length)continue;let l=a.filter(t=>e.includes(t.product)).sort((e,t)=>t.maxQps-e.maxQps)[0];l&&s.set(r,{qps:l.maxQps,payload:l.payload,path:l.path})}return s}(Array.from(new Set(c.map(e=>e.product))),a,u),b=Array.from(h(c,e=>e.product).entries()).map(e=>{let[t,r]=e,a=r.slice().sort((e,t)=>e.qps-t.qps),s=function(e){let t=e.toLowerCase();return t.includes("zilliz")||t.includes("turbo")&&t.includes("pinned")}(t),l=a[0]&&{...a[0],qps:0,searchCost:s?a[0].searchCost:0,cost:(s?a[0].searchCost:0)+a[0].storageCost+a[0].writeCost},o=l?[l,...a]:a;return{product:t,color:x(t),rows:function(e,t){if(e.length<2)return e;let r=e[e.length-1];if(t<=r.qps+1e-6)return e;let a=e[e.length-2],s=r.qps-a.qps;if(s<=0)return e;let l=(t-a.qps)/s,o=a.cost+(r.cost-a.cost)*l,n=a.searchCost+(r.searchCost-a.searchCost)*l;return[...e,{...r,qps:t,cost:o,searchCost:n}]}(o,d),cutoff:p.get(t)}}).filter(e=>e.rows.length>0).sort((e,t)=>{let r=e.product.toLowerCase().includes("zilliz")?0:1,a=t.product.toLowerCase().includes("zilliz")?0:1;return r!==a?r-a:e.product.localeCompare(t.product)}),_=(function(e){let t=[];for(let r=0;r<e.length;r+=1)for(let a=r+1;a<e.length;a+=1){let s=e[r],l=e[a];for(let e=0;e<s.rows.length-1;e+=1){let r=s.rows[e],a=s.rows[e+1];for(let e=0;e<l.rows.length-1;e+=1){let o=l.rows[e],n=l.rows[e+1],i=Math.max(Math.min(r.qps,a.qps),Math.min(o.qps,n.qps)),c=Math.min(Math.max(r.qps,a.qps),Math.max(o.qps,n.qps));if(i>c)continue;let d=a.qps===r.qps?0:(a.cost-r.cost)/(a.qps-r.qps),u=n.qps===o.qps?0:(n.cost-o.cost)/(n.qps-o.qps),p=d-u;if(1e-9>Math.abs(p))continue;let h=(o.cost-r.cost+d*r.qps-u*o.qps)/p;if(h<i-1e-6||h>c+1e-6)continue;let b="".concat(s.product,"|").concat(l.product,"|").concat(h.toFixed(2));t.some(e=>e.key===b)||t.push({key:b,productA:s.product,productB:l.product,qps:h,cost:function(e,t,r){if(e.qps===t.qps)return e.cost;let a=(r-e.qps)/(t.qps-e.qps);return e.cost+a*(t.cost-e.cost)}(r,a,h)})}}}return t.sort((e,t)=>
1e.qps-t.qps)})(b).filter(e=>e.qps<=d);if(_.length){let e=Array.from(new Set(_.map(e=>e.qps))).sort((e,t)=>e-t);b.forEach(t=>{let r=t.rows.slice().sort((e,t)=>e.qps-t.qps);if(r.length<2)return;e.forEach(e=>{if(!(e<=r[0].qps+1e-6)&&!(e>=r[r.length-1].qps-1e-6)&&!r.some(t=>1e-6>Math.abs(t.qps-e)))for(let t=0;t<r.length-1;t+=1){let a=r[t],s=r[t+1];if(e>a.qps&&e<s.qps){let l=(e-a.qps)/(s.qps-a.qps);r.splice(t+1,0,{...a,qps:e,cost:a.cost+(s.cost-a.cost)*l,searchCost:a.searchCost+(s.searchCost-a.searchCost)*l,storageCost:a.storageCost+(s.storageCost-a.storageCost)*l,writeCost:a.writeCost+(s.writeCost-a.writeCost)*l});break}}});let a=r[0],s=r[r.length-1];t.rows=r.filter(t=>t===a||t===s||e.some(e=>1e-6>Math.abs(t.qps-e)))})}let m=b.flatMap(e=>e.rows.filter(e=>e.qps<=d+1e-6)).map(e=>e.cost).concat(_.map(e=>e.cost));return{scenarioLabel:i.label,xLabel:i.x_label,modeLabel:(null===(t=r.costModel.modes.find(e=>e.id===s))||void 0===t?void 0:t.label)||s,unit:"monthly"===l?"month":"hour",maxQps:d,maxCost:1.16*Math.max(1,...m),series:b,crossovers:_,sources:r.costModel.sources}}({data:t,scenarioId:s,mode:n,period:c,writeMode:u,qpsMax:b});return null===m||!Number.isFinite(m)||m<=0?e:{...e,maxCost:Math.max(1,m)}},[m,t,n,c,b,s,u]),N=E(r,"cost.notes.items");return(0,a.jsxs)("section",{className:S().card,id:"cost-section",children:[(0,a.jsx)(ea,{id:"cost-section",title:r("cost.title"),description:r("cost.description")}),(0,a.jsxs)("div",{className:S().filters,children:[(0,a.jsx)(F.Q,{label:r("cost.filters.workload"),value:s,classes:J,options:[{label:r("cost.filters.workloadOptions.single"),value:"single"},{label:r("cost.filters.workloadOptions.multi"),value:"multi"}],onChange:e=>{let t=e.value;l(t),_("multi"===t?150:50),f("multi"===t?3:20)}}),(0,a.jsx)(F.Q,{label:r("cost.filters.costBasis"),value:n,classes:J,options:t.costModel.modes.map(e=>({label:e.label,value:e.id})),onChange:e=>i(e.value)}),"full"===n&&(0,a.jsx)(F.Q,{label:r("cost.filters.writeWorkload"),value:u,classes:J,options:[{label:r("cost.filters.writeOptions.constant"),value:"constant"},{label:r("cost.filters.writeOptions.batch"),value:"batch"}],onChange:e=>p(e.value)}),(0,a.jsx)(W.S,{label:r("cost.filters.qpsMax"),type:"number",value:b,onChange:e=>_(Number(e||1)),classes:{root:S().qpsInputRoot,label:S().inputLabel,input:S().qpsInput}}),(0,a.jsx)(W.S,{label:r("cost.filters.costMax"),type:"number",value:null!=m?m:"",onChange:e=>{let t=Number(e);f(""===e||!Number.isFinite(t)||t<=0?null:t)},classes:{root:S().qpsInputRoot,label:S().inputLabel,input:S().qpsInput}}),(0,a.jsxs)("div",{className:S().filterSwitchRow,children:[(0,a.jsx)(R.E,{className:S().filterRadioGroup,label:r("cost.filters.costPeriod"),value:c,options:[{label:r("cost.filters.periodOptions.hourly"),value:"hourly"},{label:r("cost.filters.periodOptions.monthly"),value:"monthly"}],onChange:e=>{d(e),f("monthly"===e?1e4:20)}}),(0,a.jsx)(R.E,{className:S().filterRadioGroup,label:r("cost.filters.priceOrder"),value:v,options:[{label:r("cost.filters.priceOrderOptions.asc"),value:"asc"},{label:r("cost.filters.priceOrderOptions.desc"),value:"desc"}],onChange:e=>g(e)})]})]}),(0,a.jsx)(en,{data:C,priceOrder:v}),(0,a.jsx)(el,{intro:r("cost.notes.intro"),notes:N})]})},el=e=>{let{intro:t,notes:r}=e,{t:s}
1=(0,o.$G)(H),[l,n]=(0,j.useState)(!1),i=!!(null==r?void 0:r.length);return(0,a.jsxs)("div",{className:S().caseNotes,children:[(0,a.jsxs)("div",{className:S().caseNotesHead,children:[(0,a.jsx)("strong",{children:s("common.notes")}),(0,a.jsx)("span",{className:S().caseNotesIntro,children:t}),i&&(0,a.jsx)("button",{type:"button",className:(0,y.Z)(S().caseNotesToggle,l&&S().caseNotesToggleOpen),onClick:()=>n(e=>!e),"aria-expanded":l,"aria-label":l?s("common.showLess",{defaultValue:"Show less"}):s("common.showMore",{defaultValue:"Show more"}),children:(0,a.jsx)("svg",{width:"14",height:"14",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2.5",strokeLinecap:"round",strokeLinejoin:"round","aria-hidden":"true",children:(0,a.jsx)("polyline",{points:"6 9 12 15 18 9"})})})]}),i&&l&&(0,a.jsx)("ul",{className:S().caseNotesList,children:r.map((e,t)=>(0,a.jsx)("li",{children:eo(e)},t))})]})};function eo(e){var t;if(!(null===(t=e.links)||void 0===t?void 0:t.length))return e.text;let r=[],s=e.text;return e.links.forEach((e,t)=>{let l=s.indexOf(e.label);-1!==l&&(r.push(s.slice(0,l)),r.push((0,a.jsx)("a",{href:e.url,target:"_blank",rel:"noreferrer",children:e.label},t)),s=s.slice(l+e.label.length))}),r.push(s),r}let en=e=>{let{data:t,priceOrder:r}=e,{t:s}
1=(0,o.$G)(H),l=v(t.maxQps,5),n=v(t.maxCost,5),i=l[1]?l[1]-l[0]:t.maxQps,c=n[1]?n[1]-n[0]:t.maxCost,u=s("cost.chart.bestChoice"),[p,h]=(0,j.useState)(()=>{let e=new Set;return t.series.forEach(t=>{let r=t.product.toLowerCase();r.includes("turbo")&&r.includes("pinned")&&e.add(t.product)}),e}),[_,m]=(0,j.useState)(!1),f=[],w=[];t.series.forEach(e=>{var r;let a=e.rows.slice().sort((e,t)=>e.qps-t.qps).map(e=>({qps:e.qps,cost:e.cost}));if(!a.length)return;let s=null===(r=e.cutoff)||void 0===r?void 0:r.qps,l=a,o=[];if(s&&s>0&&s<a[a.length-1].qps){if(l=a.filter(e=>e.qps<=s),o=a.filter(e=>e.qps>=s),!a.some(e=>1e-6>Math.abs(e.qps-s)))for(let e=0;e<a.length-1;e+=1){let t=a[e],r=a[e+1];if(s>t.qps&&s<r.qps){let e={qps:s,cost:g(t,r,s)};l=[...l,e],o=[e,...o];break}}}else s&&s>0&&(l=a.filter(e=>e.qps<=s));let n=p.has(e.product);n||w.push({product:e.product,rows:l});let i=_?function(e,t){let r=e.replace("#","");if(3!==r.length&&6!==r.length)return e;let a=3===r.length?r.split("").map(e=>e+e).join(""):r,s=parseInt(a.slice(0,2),16),l=parseInt(a.slice(2,4),16),o=parseInt(a.slice(4,6),16);return"rgba(".concat(s,", ").concat(l,", ").concat(o,", ").concat(.1,")")}(e.color,0):e.color;f.push({label:e.product,color:{borderColor:i,backgroundColor:i},legendColor:e.color,data:Q(l).map(e=>({x:e.qps,y:e.cost})),cubicInterpolationMode:"default",tension:0,order:2,lineOnly:!0,hidden:n,tooltip:{title:()=>e.product,label:e=>{let r=e.y>=100?0:e.y>=1?2:4;return"qps = ".concat(b(e.x,1),", price = ").concat(b(e.y,r)," USD/").concat(t.unit)}}}),o.length>=2&&f.push({label:"".concat(e.product," (non-achievable)"),color:{borderColor:i,backgroundColor:i},legendColor:e.color,data:Q(o).map(e=>({x:e.qps,y:e.cost})),cubicInterpolationMode:"default",tension:0,borderDash:[6,6],pointRadius:0,pointHoverRadius:0,hiddenLegend:!0,order:3,hidden:n,tooltip:{title:()=>e.product,label:()=>"unachievable QPS, demonstration only"}})});let V=[];if(w.length){let e=function(e,t,r){let a=new Set;a.add(Number("0.000000")),a.add(Number(r.toFixed(6))),e.forEach(e=>{e.rows.forEach(e=>{e.qps>1e-9&&e.qps<r-1e-9&&a.add(Number(e.qps.toFixed(6)))})});for(let t=0;t<e.length;t+=1)for(let s=t+1;
1s<e.length;s+=1){let l=e[t].rows.slice().sort((e,t)=>e.qps-t.qps),o=e[s].rows.slice().sort((e,t)=>e.qps-t.qps);for(let e=0;e<l.length-1;e+=1)for(let t=0;t<o.length-1;t+=1){let s=l[e],n=l[e+1],i=o[t],c=o[t+1],d=Math.max(Math.min(s.qps,n.qps),Math.min(i.qps,c.qps)),u=Math.min(Math.max(s.qps,n.qps),Math.max(i.qps,c.qps));if(d>u)continue;let p=n.qps===s.qps?0:(n.cost-s.cost)/(n.qps-s.qps),h=c.qps===i.qps?0:(c.cost-i.cost)/(c.qps-i.qps),b=p-h;if(1e-9>Math.abs(b))continue;let _=(i.cost-s.cost+p*s.qps-h*i.qps)/b;!(_<d-1e-6)&&!(_>u+1e-6)&&_>1e-9&&_<r-1e-9&&a.add(Number(_.toFixed(6)))}}let s=Array.from(a).sort((e,t)=>e-t),l=[];for(let t=0;t<s.length-1;t+=1){let r=s[t],a=s[t+1];if(a-r<1e-6)continue;let o=(r+a)/2,n=e.map(e=>({group:e,cost:C(e.rows,o)})).filter(e=>null!==e.cost);if(!n.length)continue;n.sort((e,t)=>e.cost-t.cost||e.group.product.localeCompare(t.group.product));let i=n[0].group,c=C(i.rows,r),d=C(i.rows,a);if(null===c||null===d)continue;let u=l[l.length-1];u&&u.product===i.product&&1e-6>Math.abs(u.endCost-c)?(u.endQps=a,u.endCost=d):l.push({product:i.product,startQps:r,endQps:a,startCost:c,endCost:d})}return l}(w,0,t.maxQps);e.forEach((t,r)=>{if(0===r)V.push({x:t.startQps,y:t.startCost});else{let a=e[r-1];1e-6>Math.abs(a.endQps-t.startQps)&&1e-6>Math.abs(a.endCost-t.startCost)||(V.push({x:t.startQps,y:NaN}),V.push({x:t.startQps,y:t.startCost}))}V.push({x:t.endQps,y:t.endCost})})}let N=new Map;t.series.forEach(e=>{let t=e.rows.slice().sort((e,t)=>e.qps-t.qps).map(e=>({qps:e.qps,cost:e.cost}));t.length&&N.set(e.product,e=>{if(e<t[0].qps||e>t[t.length-1].qps)return null;for(let r=0;r<t.length-1;r+=1){let a=t[r],s=t[r+1];if(e>=a.qps&&e<=s.qps)return g(a,s,e)}return null})});let L=t.crossovers.filter(e=>!(0===e.qps&&0===e.cost||e.qps<0||e.qps>t.maxQps||e.cost<0||e.cost>t.maxCost||p.has(e.productA)||p.has(e.productB)));return L.length&&f.push({label:"crossover points",color:{borderColor:"#000000",backgroundColor:"#ffffff"},data:L.map(e=>({x:e.qps,y:e.cost,productA:e.productA,productB:e.productB})),pointOnly:!0,pointRadius:4,pointHoverRadius:5,pointHitRadius:8,pointBackgroun
1dColor:"#ffffff",pointBorderColor:"rgba(0, 0, 0, 0.7)",pointBorderWidth:1,hiddenLegend:!0,order:0,drawAboveAxis:!0,tooltip:{anchorOnPoint:!0,isolated:!0,hideSwatch:!0,title:e=>{var t,r;let a=e.raw||{},s=null!==(t=a.productA)&&void 0!==t?t:"",l=null!==(r=a.productB)&&void 0!==r?r:"";return"".concat(s," ↔ ").concat(l)},label:e=>{var r,a;let s=e.raw||{},l=null!==(r=s.productA)&&void 0!==r?r:"",o=null!==(a=s.productB)&&void 0!==a?a:"",n=e.x,i=e.y,c=["qps = ".concat(b(n,1),", cost = ").concat(b(i,i>=100?0:i>=1?2:4)," USD/").concat(t.unit)],d=Math.max(.01*n,1e-6),u=N.get(l),p=N.get(o);if(u&&p){let e=u(Math.max(n-d,0)),t=p(Math.max(n-d,0)),r=u(n+d),a=p(n+d);null!=e&&null!=t&&c.push("< ".concat(b(n,1)," qps → ").concat(e<t?l:o," is cheaper")),null!=r&&null!=a&&c.push("> ".concat(b(n,1)," qps → ").concat(r<a?l:o," is cheaper"))}return c},labelHtml:e=>{var r,a;let s=e.raw||{},l=null!==(r=s.productA)&&void 0!==r?r:"",o=null!==(a=s.productB)&&void 0!==a?a:"",n=e.x,i=e.y,c=['<span style="opacity:0.7">qps = '.concat(b(n,1),", cost = ").concat(b(i,i>=100?0:i>=1?2:4)," USD/").concat(t.unit,"</span>")],d=Math.max(.01*n,1e-6),u=N.get(l),p=N.get(o);if(u&&p){let e=u(Math.max(n-d,0)),t=p(Math.max(n-d,0)),r=u(n+d),a=p(n+d);if(null!=e&&null!=t){let r=e<t?l:o;c.push("&lt; ".concat(b(n,1),' qps → <span style="color:').concat(x(r),';font-weight:600">').concat(r,"</span> is cheaper"))}if(null!=r&&null!=a){let e=r<a?l:o;c.push("&gt; ".concat(b(n,1),' qps → <span style="color:').concat(x(e),';font-weight:600">').concat(e,"</span> is cheaper"))}}return c}}}),f.unshift({label:u,color:{borderColor:d,backgroundColor:d},data:V,lineOnly:!0,cubicInterpolationMode:"default",tension:0,borderWidth:3,spanGaps:!1,order:1,hidden:!_}),(0,a.jsxs)("div",{className:S().chartCard,children:[(0,a.jsxs)("div",{className:S().chartHead,children:[(0,a.jsx)("strong",{children:s("cost.chart.title")}),(0,a.jsx)("span",{children:s("cost.chart.subtitle",{modeLabel:t.modeLabel,unit:t.unit})})]}),(0,a.jsx)("div",{className:S().costChartWrap,children:(0,a.jsx)(B.w,{axises:{x:{title:t.xLabel,range:[0,t.maxQps],stepSize:i},y:{title:s("cost.chart.yAxis",{unit:t.unit}),range:[0,t.maxCost],stepSize:c,reverse:"desc"===r}},items:f,onLegendClick:e=>{if(e===u){m(e=>!e);return}h(t=>{let r=new Set(t);return r.has(e)?r.delete(e):r.add(e),r})},height:420,preciseHover:!0})})]})},ei=[{test:e=>e.includes("Zilliz Cloud Capacity"),rank:0},{test:e=>e.includes("Zilliz Cloud Tiered"),rank:1},{test:e=>e.includes("Turbopuffer"),rank:2},{test:e=>e.includes("Pinecone"),rank:4}];function ec(e){for(let{test:t,rank:r}of ei)if(t(e))return r;return 5}let ed=e=>{let{data:t}=e,{t:r}
1=(0,o.$G)(H),[s,l]=(0,j.useState)(!0),[i,c]=(0,j.useState)("off"),d=E(r,"insert.notes.items"),u="LAION 100M",p=t.insert.filter(e=>e.dataset===u).filter(e=>[e.insertSeconds,e.searchableSeconds,e.indexedSeconds].every(e=>"number"==typeof e)),f=p.filter(e=>"turbopuffer_bp_on"===e.product?"on"===i:"turbopuffer_bp_off"!==e.product||"off"===i),v=Math.max(1,...p.map(e=>e.writeCost||0)),g={insert:Math.max(1,...p.map(e=>e.insertSeconds)),searchable:Math.max(1,...p.map(e=>e.searchableSeconds)),indexed:Math.max(1,...p.map(e=>e.indexedSeconds))},C=Array.from(h(f,e=>e.displayProduct).entries()).map(e=>{let[t,r]=e;return{product:t,rows:r.slice().sort((e,t)=>e.batchSize-t.batchSize)}}).sort((e,t)=>ec(e.product)-ec(t.product)||e.product.localeCompare(t.product));return(0,a.jsxs)("section",{className:S().card,id:"insert-section",children:[(0,a.jsx)(ea,{id:"insert-section",title:r("insert.title"),description:r("insert.description")}),(0,a.jsxs)("div",{className:S().filters,children:[(0,a.jsxs)("div",{className:S().switchField,children:[(0,a.jsx)("span",{className:S().fieldLabel,children:r("insert.filters.displayCost")}),(0,a.jsx)(O.S,{value:s?"on":"off",options:[{label:r("insert.filters.toggleOptions.off"),value:"off"},{label:r("insert.filters.toggleOptions.on"),value:"on"}],onChange:e=>l("on"===e.value),classes:{container:S().compactSwitchContainer,root:S().compactSwitchRoot,button:S().compactSwitchButton,active:S().compactSwitchActive,inactive:S().compactSwitchInactive}})]}),(0,a.jsxs)("span",{className:S().chip,children:[(0,a.jsx)("span",{className:S().chipKey,children:r("insert.filters.datasetKey")}),(0,a.jsx)("span",{className:S().chipValue,children:u})]})]}),0===f.length?(0,a.jsx)("p",{className:S().empty,children:r("insert.empty")}):(0,a.jsxs)("div",{className:(0,y.Z)(S().readinessCard,s&&S().readinessShowCost),children:[(0,a.jsxs)("div",{className:S().insertPhaseHead,children:[(0,a.jsx)("span",{}),(0,a.jsx)("span",{children:r("insert.columns.inserted")}),(0,a.jsx)("span",{children:r("insert.columns.searchable")}),(0,a.jsx)("span",{children:r("insert.columns.indexed")}),(0,a.jsx)("span",{className:(0,y.Z)(S().insertCostCol,!s&&S().insertCostColHidden),"aria-hidden":!s,children:r("insert.columns.writeCost")})]}),(0,a.jsx)("div",{className:S().insertGroups,children:C.map(e=>(0,a.jsxs)("div",{className:S().insertProduct,children:[(0,a.jsxs)("div",{className:S().insertProductHead,children:[(0,a.jsx)("strong",{children:e.product}),"Turbopuffer"===e.product&&(0,a.jsx)("div",{className:S().switchField,children:(0,a.jsx)(O.S,{value:i,options:[{label:r("insert.backpressure.off"),value:"off"},{label:r("insert.backpressure.on"),value:"on"}],onChange:e=>c(e.value),classes:{container:S().compactSwitchContainer,root:S().compactSwitchRoot,button:S().compactSwitchButton,active:S().compactSwitchActive,inactive:S().compactSwitchInactive}})})]}),e.rows.map(t=>{var l;let o=[{key:"insert",className:S().segInsert,value:t.insertSeconds,max:g.insert},{key:"searchable",className:S().segSearchable,value:t.searchableSeconds,max:g.searchable},{key:"indexed",className:S().segIndexed,value:t.indexedSeconds,max:g.indexed}],i=Math.max(t.writeCost>0?2:0,t.writeCost/v*100);return(0,a.jsxs)("div",{className:S().insertRow,children:[(0,a.jsx)("div",{className:S().insertLabel,children:(0,a.jsx)("strong",{children:r("insert.row.batchSize",{batchSize:b(t.batchSize,0)})})}),(0,a.jsx)("div",{className:S().insertPhaseGrid,children:o.map(e=>{let t=Math.max(e.value>0?2:0,e.value/e.max*100);return(0,a.jsx)("div",{className:(0,y.Z)(S().insertPhase,e.className),style:{"--phase-width":"".concat(t,"%")},children:(0,a.jsxs)("div",{className:S().insertPhaseTrack,children:[(0,a.jsx)("span",{style:{width:"".concat(t,"%")}}),(0,a.jsx)("strong",{children:_(e.value)})]})},e.key)})}),(0,a.jsxs)("div",{className:(0,y.Z)(S().insertCost,S().insertCostCol,!s&&S().insertCostColHidden),"aria-hidden":!s,children:[(0,a.jsx)("div",{className:S().insertCostTrack,children:(0,a.jsx)("span",{style:{width:"".concat(i,"%"),background:x((l=t.product)?n[l]||l.split("_").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" "):"Unknown")}})}),(0,a.jsx)("strong",{children:m(t.writeCost)})]})]},"".concat(e.product,"-").concat(t.batchSize))})]},e.product))})]}),(0,a.jsx)(el,{intro:r("insert.notes.intro"),notes:d})]})},eu=e=>{var t,r;let{data:s}=e,{t:l}
1=(0,o.$G)(H),[n,i]=(0,j.useState)("single"),[c,d]=(0,j.useState)("concurrent"),[u,p]=(0,j.useState)(!1),h=(0,j.useMemo)(()=>("single"===n?s.payloadSearch:s.multiTenantSearch).filter(e=>"scalar_label"!==e.payload),[s.multiTenantSearch,s.payloadSearch,n]),v=Array.from(new Set(h.map(e=>e.filterKey))).sort(),g=Array.from(new Set(h.map(e=>e.payload))).sort(),[C,w]=(0,j.useState)(K.single),[V,N]=(0,j.useState)(Y.single),L=v.includes(C)?C:v[0],q=g.includes(V)?V:g[0],M=h.filter(e=>e.filterKey===L&&e.payload===q).sort((e,t)=>t.maxQps-e.maxQps),z=[...s.payloadSearch,...s.multiTenantSearch].filter(e=>"scalar_label"!==e.payload),k=e=>{var t,r,a;let s=Number(null!==(t=e.serialP99)&&void 0!==t?t:0);return"serial"===c&&s>0?s:Number(null!==(a=null!==(r=e.concurrentP99)&&void 0!==r?r:e.p99)&&void 0!==a?a:0)},I=M.filter(e=>k(e)>0),T=M.filter(e=>0>=k(e)),A=Math.max(1,...z.map(e=>e.maxQps)),B=Math.max(1,...z.map(e=>1e3*k(e))),R="single"===n,Z=null!==(r=null===(t=M.find(e=>void 0!==e.topK))||void 0===t?void 0:t.topK)&&void 0!==r?r:100,P=e=>{var t,r;let a="single"===n?"single":"multi",l=null===(r=s.costModel.scenarios)||void 0===r?void 0:null===(t=r[a])||void 0===t?void 0:t.points;if(!(null==l?void 0:l.length)||!e.maxQps)return null;let o=e=>{let t=e.toLowerCase();if("single"===a){if(t.includes("tiered"))return["zilliz_cloud_tiered_4cu"];if(t.includes("capacity"))return t.includes("32")?["zilliz_cloud_capacity_32cu"]:["zilliz_cloud_capacity_12cu","zilliz_cloud_cap_12cu","zillz_cloud_cap_12cu"];if(t.includes("pinecone"))return["pinecone_serverless","pinecone"];if(t.includes("turbo")&&t.includes("pinned"))return["turbopuffer_pinned"];if(t.includes("turbo"))return["turbopuffer_unpinned"]}return t.includes("tiered")?["zilliz_cloud_tiered_1cu"]:t.includes("capacity")?["zilliz_cloud_capacity_2cu"]:t.includes("pinecone")?["pinecone_serverless","pinecone"]:t.includes("turbo")?["turbopuffer"]:[]},i=null;for(let t of l)if(o(t.product).includes(e.product)){i=t.product;break}if(!i&&"single"===a&&e.product.toLowerCase().includes("turbopuffer")&&(i="Turbopuffer"),!i)return null;let c=l.filter(e=>e.product===i&&e.qps>0).sort((e,t)=>e.qps-t.qps);if(!c.length)return null;if(1===c.length)return c[0].search_cost_hr;let d=e.maxQps;if(d<=c[0].qps)return c[0].search_cost_hr;for(let e=0;e<c.length-1;e+=1){let t=c[e],r=c[e+1];if(d>=t.qps&&d<=r.qps){let e=r.qps-t.qps||1,a=(d-t.qps)/e;return t.search_cost_hr+(r.search_cost_hr-t.search_cost_hr)*a}}let u=c[c.length-1],p=c[c.length-2],h=u.qps-p.qps||1,b=(d-p.qps)/h;return p.search_cost_hr+(u.search_cost_hr-p.search_cost_hr)*b},W=Math.max(1,...I.map(e=>P(e)).filter(e=>"number"==typeof e)),Q=(e,t)=>Math.max(0,Math.min(100,e/t*100));return(0,a.jsxs)("section",{className:S().card,id:"search-section",children:[(0,a.jsx)(ea,{id:"search-section",title:l("search.title"),description:l("search.description")}),(0,a.jsxs)("div",{className:(0,y.Z)(S().filters,S().searchFilters),children:[(0,a.jsx)(F.Q,{label:l("search.filters.mode"),value:n,classes:J,options:[{label:l("search.filters.modeOptions.single"),value:"single"},{label:l("search.filters.modeOptions.multi"),value:"multi"}],onChange:e=>{let t=e.value;i(t),w(K[t]),N(Y[t])}}),(0,a.jsx)(F.Q,{label:l("search.filters.filter"),value:L,classes:J,options:v.map(e=>({label:G(l,e),value:e})),onChange:e=>w(String(e.value))}),(0,a.jsx)(F.Q,{label:l("search.filters.payload"),value:q,classes:J,options:g.map(e=>({label:f(e),value:e})),onChange:e=>N(String(e.value))}),(0,a.jsx)(F.Q,{label:l("search.filters.latency"),value:c,classes:J,options:[{label:l("search.filters.latencyOptions.concurrent"),value:"concurrent"},{label:l("search.filters.latencyOptions.serial"),value:"serial"}],onChange:e=>d(e.value)}),(0,a.jsxs)("div",{className:S().searchCostCell,children:[(0,a.jsxs)("div",{className:S().switchField,children:[(0,a.jsx)("span",{className:S().fieldLabel,children:l("search.filters.displayCost")}),(0,a.jsx)(O.S,{value:u?"on":"off",options:[{label:l("search.filters.toggleOptions.off"),value:"off"},{label:l("search.filters.toggleOptions.on"),value:"on"}],onChange:e=>p("on"===e.value),classes:{container:S().compactSwitchContainer,root:S().compactSwitchRoot,button:S().compactSwitchButton,active:S().compactSwitchActive,inactive:S().compactSwitchInactive}})]}),(0,a.jsx)("span",{className:S().topkBadge,children:l("search.topKBadge",{topK:Z})})]})]}),(0,a.jsxs)("div",{className:S().chartCard,children:[(0,a.jsxs)("div",{className:S().chartHead,children:[(0,a.jsx)("strong",{children:l("search.chart.title")}),(0,a.jsx)("span",{children:l("search.chart.subtitle",{filterLabel:G(l,L),payloadLabel:f(q),latencyLabel:"serial"===c?l("search.chart.latencySerial"):l("search.chart.latencyConcurrent")})})]}),0===I.length?(0,a.jsx)("p",{className:(0,y.Z)(S().empty,S().searchEmpty),children:l("search.empty")}):(0,a.jsxs)("div",{className:S().searchTable,children:[(0,a.jsxs)("div",{className:(0,y.Z)(S().searchHeader,{[S().searchRowNoRecall]:!R,[S().searchRowWithCost]:u}),children:[(0,a.jsx)("span",{children:l("search.columns.product")}),(0,a.jsxs)("span",{className:S().searchAxisHead,children:[(0,a.jsx)("span",{children:"serial"===c?l("search.columns.latencySerial"):l("search.columns.latencyConcurrent")}),(0,a.jsx)("span",{children:l("search.columns.qps")})]}),R&&(0,a.jsx)("span",{children:l("search.columns.recall")}),(0,a.jsx)("span",{className:(0,y.Z)(S().searchCostCol,!u&&S().searchCostColHidden),"aria-hidden":!u,children:l("search.columns.queryCost")})]}),I.map(e=>{let t=k(e),r=Q(1e3*t,B),s=Q(e.maxQps,A),o=u?P(e):null,n=null!==o?Q(o,W):0;
1return(0,a.jsxs)("div",{className:(0,y.Z)(S().searchRow,{[S().searchRowNoRecall]:!R,[S().searchRowWithCost]:u}),children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("div",{className:S().productName,children:U(l,e.product,e.productLabel)}),(0,a.jsx)("div",{className:S().productMeta,children:l("search.row.bytesPerQuery",{bytes:b(e.payloadBytes,0)})})]}),(0,a.jsxs)("div",{className:S().diverge,children:[(0,a.jsxs)("div",{className:S().divergeLatency,children:[(0,a.jsx)("span",{className:(0,y.Z)(S().barNumber,S().rightAlign),children:(0,a.jsx)(D,{value:t,format:_})}),(0,a.jsx)("div",{className:(0,y.Z)(S().barTrack,S().left),children:(0,a.jsx)("div",{className:S().barFill,style:{width:"".concat(r,"%"),background:$.latency}})})]}),(0,a.jsx)("div",{className:S().axis}),(0,a.jsxs)("div",{className:S().divergeQps,children:[(0,a.jsx)("div",{className:S().barTrack,children:(0,a.jsx)("div",{className:S().barFill,style:{width:"".concat(s,"%"),background:$.qps}})}),(0,a.jsx)("span",{className:S().barNumber,children:(0,a.jsx)(D,{value:e.maxQps,format:e=>b(e,1)})})]})]}),R&&(0,a.jsx)("div",{className:(0,y.Z)(S().recall,{[S().good]:null!==e.recall&&e.recall>=.96,[S().warn]:null!==e.recall&&e.recall<.96}),children:null===e.recall?l("search.row.recallNa"):(0,a.jsx)(D,{value:e.recall,format:e=>l("search.row.recall",{value:e.toFixed(4)})})}),(0,a.jsxs)("div",{className:(0,y.Z)(S().searchCost,S().searchCostCol,!u&&S().searchCostColHidden),"aria-hidden":!u,children:[(0,a.jsx)("div",{className:S().searchCostTrack,children:(0,a.jsx)("span",{style:{width:null===o?"0%":"".concat(n,"%"),background:x(e.productLabel)}})}),(0,a.jsx)("strong",{children:null===o?"n/a":(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(D,{value:o,format:m}),(0,a.jsx)("small",{children:l("search.row.perHourSuffix")})]})})]})]},e.product)})]}),T.length>0&&(0,a.jsx)("p",{className:S().note,children:l("search.skippedNote",{mode:"serial"===c?l("search.skippedModeSerial"):l("search.skippedModeConcurrent"),products:T.map(e=>U(l,e.product,e.productLabel)).join(", ")})})]})]})},ep=e=>{let{data:t}=e,{t:r}
1=(0,o.$G)(H),[s,l]=(0,j.useState)("unfiltered/na"),n=Array.from(new Set(t.coldLatency.map(e=>e.filterKey))).sort(),c=e=>{var t;return null!==(t=e.coldP99)&&void 0!==t?t:e.first},d=e=>e.warmFirst,u=function(e){let t=new Map,r=(e,t)=>!e||!!e.mocked&&!t.mocked||e.mocked===t.mocked&&String(t.path||"").localeCompare(String(e.path||""))>0;for(let a of e)r(t.get(a.productLabel),a)&&t.set(a.productLabel,a);return Array.from(t.values()).sort((e,t)=>e.first-t.first)}(t.coldLatency.filter(e=>e.filterKey===s).filter(e=>c(e)>0&&d(e)>0)),p=Math.max(1,...u.map(e=>c(e))),h=e=>e.firstRatio||c(e)/d(e),b=Math.max(1,...u.map(h)),_=[...u].sort((e,t)=>h(e)-h(t)),m=e=>Math.max(0,Math.min(100,e)),f=E(r,"cold.notes.items");return(0,a.jsxs)("section",{className:S().card,id:"cold-section",children:[(0,a.jsx)(ea,{id:"cold-section",title:r("cold.title"),description:r("cold.description")}),(0,a.jsx)("div",{className:S().filters,children:(0,a.jsx)(F.Q,{label:r("cold.filters.mode"),value:s,classes:J,options:n.map(e=>({label:G(r,e,i[e]||e),value:e})),onChange:e=>l(String(e.value))})}),u.length?(0,a.jsxs)("div",{className:S().coldGrid,children:[(0,a.jsxs)("div",{className:S().coldCard,children:[(0,a.jsxs)("div",{className:S().coldCardHead,children:[(0,a.jsx)("strong",{children:r("cold.warm.title")}),(0,a.jsx)("span",{children:r("cold.warm.subtitle",{filterLabel:G(r,s,i[s]||s)})})]}),(0,a.jsx)("div",{className:S().coldBars,children:u.map(e=>{let t=c(e),s=d(e),l=s+t,o=l>0?Math.max(1,Math.min(99,t/l*100)):50,n=m(t/p*100),i=x(e.productLabel),u=function(e){let t=(e||"").toLowerCase();return t.includes("zilliz")&&t.includes("tier")?"#5eead4":t.includes("zilliz")?"#67e8f9":t.includes("turbo")?"#fdba74":t.includes("pine")?"#f9a8d4":"#cbd5e1"}(e.productLabel);return(0,a.jsxs)("div",{className:S().coldBarRow,children:[(0,a.jsx)("div",{className:S().coldBarLabel,children:U(r,e.product,e.productLabel)}),(0,a.jsx)("div",{className:S().coldBarTrack,children:(0,a.jsx)("span",{className:S().coldBarFill,style:{width:"".concat(n,"%"),background:"linear-gradient(90deg, ".concat(i," 0 ").concat(o,"%, ").concat(u," ").concat(o,"% 100%)")}})}),(0,a.jsxs)("div",{className:S().coldBarVal,children:[(0,a.jsx)(D,{value:Math.round(1e3*t),format:e=>String(Math.round(e))})," / ",(0,a.jsx)(D,{value:Math.round(1e3*s),format:e=>String(Math.round(e))})," ",(0,a.jsx)("small",{children:"ms"})]})]},e.productLabel)})})]}),(0,a.jsxs)("div",{className:S().coldCard,children:[(0,a.jsxs)("div",{className:S().coldCardHead,children:[(0,a.jsx)("strong",{children:r("cold.ratio.title")}),(0,a.jsx)("span",{children:r("cold.ratio.subtitle")})]}),(0,a.jsx)("div",{className:S().coldBars,children:_.map(e=>{let t=h(e),s=m(t/b*100);return(0,a.jsxs)("div",{className:S().coldBarRow,children:[(0,a.jsx)("div",{className:S().coldBarLabel,children:U(r,e.product,e.productLabel)}),(0,a.jsx)("div",{className:S().coldBarTrack,children:(0,a.jsx)("span",{className:S().coldBarFill,style:{width:"".concat(s,"%"),background:x(e.productLabel)}})}),(0,a.jsx)("div",{className:S().coldBarVal,children:(0,a.jsx)(D,{value:t,format:e=>r("cold.ratio.value",{ratio:e.toFixed(2)})})})]},e.productLabel)})})]})]}):(0,a.jsx)("p",{className:S().empty,children:r("cold.empty")}),f.length>0&&(0,a.jsxs)("div",{className:S().caseNotes,children:[(0,a.jsx)("div",{className:S().caseNotesHead,children:(0,a.jsx)("strong",{children:r("common.notes")})}),(0,a.jsx)("ol",{children:f.map((e,t)=>(0,a.jsx)("li",{children:eo(e)},t))})]})]})};var eh=!0;function eb(e){let{t}=(0,o.$G)("vdbbenchLeaderboardV2");return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsxs)(l(),{children:[(0,a.jsx)("title",{children:t("meta.title")}),(0,a.jsx)("meta",{name:"description",content:t("meta.description")}),(0,a.jsx)("meta",{name:"keywords",content:t("meta.keywords")})]}),(0,a.jsx)(X,{data:e.data})]})}},32203:function(e){e.exports={inputContainer:"CalculatorInput_inputContainer__Abs3G",label:"CalculatorInput_label__lG0BS",disabledInputContainer:"CalculatorInput_disabledInputContainer__y5pdl",fullWidth:"CalculatorInput_fullWidth__aleeA",error:"CalculatorInput_error__aiL8x",inputWrapper:"CalculatorInput_inputWrapper__WC11c",disabledInput
1:"CalculatorInput_disabledInput__fiZlv",inputArea:"CalculatorInput_inputArea__jusmL",unit:"CalculatorInput_unit__r_SvM",errorPrompt:"CalculatorInput_errorPrompt__IU_Wm",dropdownContainer:"CalculatorInput_dropdownContainer__gyoRf",dropdownControl:"CalculatorInput_dropdownControl__kzlyU",dropdownPlaceholder:"CalculatorInput_dropdownPlaceholder__L0rX_",dropdownMenu:"CalculatorInput_dropdownMenu__rT8C6",dropdownArrow:"CalculatorInput_dropdownArrow__EtTyD",dropdownLabel:"CalculatorInput_dropdownLabel__Uv9R8",progressAnimation:"CalculatorInput_progressAnimation__S7baC",spin:"CalculatorInput_spin__edXn0"}},22562:function(e){e.exports={inputContainer:"input_inputContainer__xJtYd",label:"input_label__Fz6Y1",requiredMark:"input_requiredMark__PcNUU",input:"input_input__oeAz8",errorInput:"input_errorInput__yJxFK",fullWidthInput:"input_fullWidthInput__5Srj3",errorMessage:"input_errorMessage__N0TEd",progressAnimation:"input_progressAnimation__TeO7_",spin:"input_spin__7BtMg"}},6503:function(e){e.exports={switchContainer:"globalSwitch_switchContainer___Bu5C",switchWrapper:"globalSwitch_switchWrapper__jIYhU",switchItem:"globalSwitch_switchItem__d8o6K",inactiveItem:"globalSwitch_inactiveItem__CExAY",activeItem:"globalSwitch_activeItem__wY82H",progressAnimation:"globalSwitch_progressAnimation__xCDpf",spin:"globalSwitch_spin__6CEcx"}},68735:function(e){e.exports={tooltipWrapper:"globalTooltip_tooltipWrapper__yd8qK",show:"globalTooltip_show__Vrq1q",arrow:"globalTooltip_arrow__mDK_e",rightStartArrow:"globalTooltip_rightStartArrow__LvzDz",rightArrow:"globalTooltip_rightArrow__tJ_3s",referenceWrapper:"globalTooltip_referenceWrapper___Shso",titleWrapper:"globalTooltip_titleWrapper__qRC9q",iconWrapper:"globalTooltip_iconWrapper__jBCrB",title:"globalTooltip_title__0lpXP",tooltipReferenceWrapper:"globalTooltip_tooltipReferenceWrapper__d6Pyc",progressAnimation:"globalTooltip_progressAnimation__8PcyK",spin:"globalTooltip_spin__kENXs"}},47096:function(e){e.exports={wrapper:"leaderboardSwitcher_wrapper__PNWoA",switcher:"leaderboardSwitcher_switcher__I3W2D",tab:"leaderboardSwitcher_tab__gdbwe",tabIcon:"leaderboardSwitcher_tabIcon__nJ2rC",active:"leaderboardSwitcher_active__okS_I",badge:"leaderboardSwitcher_badge__MzS6t",progressAnimation:"leaderboardSwitcher_progressAnimation__tFqde",spin:"leaderboardSwitcher_spin__5vjWK"}},87646:function(e){e.exports={root:"VdbbenchLeaderboardV2_root__vkweo",hero:"VdbbenchLeaderboardV2_hero__WUSTG",eyebrow:"VdbbenchLeaderboardV2_eyebrow__pnAYO",title:"VdbbenchLeaderboardV2_title__CuUS5",subtitle:"VdbbenchLeaderboardV2_subtitle__1P_CW",statusRow:"VdbbenchLeaderboardV2_statusRow__s4hDt",chip:"VdbbenchLeaderboardV2_chip__QYYeL",content:"VdbbenchLeaderboardV2_content__pBaj5",card:"VdbbenchLeaderboardV2_card__C3nO9",sectionHeader:"VdbbenchLeaderboardV2_sectionHeader__zCH_I",sectionTitle:"VdbbenchLeaderboardV2_sectionTitle__L_3Bf",sectionDescription:"VdbbenchLeaderboardV2_sectionDescription__S627E",note:"VdbbenchLeaderboardV2_note__wUUMd",filters:"VdbbenchLeaderboardV2_filters__Nvi_y",filterSwitchRow:"VdbbenchLeaderboardV2_filterSwitchRow__gSjXB",filterRadioGroup:"VdbbenchLeaderboardV2_filterRadioGroup__qq7EZ",searchFilters:"VdbbenchLeaderboardV2_searchFilters__XNP0t",floatingSelectorRoot:"VdbbenchLeaderboardV2_floatingSelectorRoot__7HIr8",searchCostCell:"VdbbenchLeaderboardV2_searchCostCell__yF0Dn",topkBadge:"VdbbenchLeaderboardV2_topkBadge___uY64",field:"VdbbenchLeaderboardV2_field__hozIR",fieldLabel:"VdbbenchLeaderboardV2_fieldLabel__jIWxo",floatingSelectorMenu:"VdbbenchLeaderboardV2_floatingSelectorMenu__UoC8B",switchField:"VdbbenchLeaderboardV2_switchField__Lh3X6",compactSwitchContainer:"VdbbenchLeaderboardV2_compactSwitchContainer__ajb_o",compactSwitchRoot:"VdbbenchLeaderboardV2_compactSwitchRoot__lS__J",compactSwitchButton:"VdbbenchLeaderboardV2_compactSwitchButton__t2K28",compactSwitchActive:"VdbbenchLeaderboardV2_compactSwitchActive__boJ1y",compactSwitchInactive:"VdbbenchLeaderboardV2_compactSwitchInactive__XgQNV",qpsInputRoot:"VdbbenchLeaderboardV2_qpsInputRoot__H7lLF",input
1Label:"VdbbenchLeaderboardV2_inputLabel__KTZ2L",qpsInput:"VdbbenchLeaderboardV2_qpsInput__XUTOJ",select:"VdbbenchLeaderboardV2_select__ijE_C",input:"VdbbenchLeaderboardV2_input__VtcOW",segmented:"VdbbenchLeaderboardV2_segmented__kq03b",active:"VdbbenchLeaderboardV2_active__3KQsz",chartCard:"VdbbenchLeaderboardV2_chartCard__pYAUn",chartHead:"VdbbenchLeaderboardV2_chartHead__DOHST",costChartWrap:"VdbbenchLeaderboardV2_costChartWrap__D4gW0",costSvg:"VdbbenchLeaderboardV2_costSvg__UC6zd",axisText:"VdbbenchLeaderboardV2_axisText__dVUEC",gridLine:"VdbbenchLeaderboardV2_gridLine__LAMc_",costLine:"VdbbenchLeaderboardV2_costLine__IveEL",costPoint:"VdbbenchLeaderboardV2_costPoint__eREin",sourceList:"VdbbenchLeaderboardV2_sourceList__JSHcA",chipKey:"VdbbenchLeaderboardV2_chipKey__6VgSh",chipValue:"VdbbenchLeaderboardV2_chipValue__mu3GF",readinessCard:"VdbbenchLeaderboardV2_readinessCard__mYGe1",insertPhaseHead:"VdbbenchLeaderboardV2_insertPhaseHead___6W6R",readinessShowCost:"VdbbenchLeaderboardV2_readinessShowCost__pcure",insertGroups:"VdbbenchLeaderboardV2_insertGroups__S8D5V",insertProduct:"VdbbenchLeaderboardV2_insertProduct__scbG5",insertProductHead:"VdbbenchLeaderboardV2_insertProductHead__PRPmA",insertRow:"VdbbenchLeaderboardV2_insertRow__zlUdJ",insertLabel:"VdbbenchLeaderboardV2_insertLabel__ypAeh",insertPhaseGrid:"VdbbenchLeaderboardV2_insertPhaseGrid__HERKx",insertPhase:"VdbbenchLeaderboardV2_insertPhase__KfUY0",insertPhaseTrack:"VdbbenchLeaderboardV2_insertPhaseTrack__HROUO",segInsert:"VdbbenchLeaderboardV2_segInsert__CIkKI",segSearchable:"VdbbenchLeaderboardV2_segSearchable__OyBec",segIndexed:"VdbbenchLeaderboardV2_segIndexed__i1Y6X",insertCost:"VdbbenchLeaderboardV2_insertCost__h_YrE",insertCostTrack:"VdbbenchLeaderboardV2_insertCostTrack__unu8O",insertCostCol:"VdbbenchLeaderboardV2_insertCostCol__aJKkk",insertCostColHidden:"VdbbenchLeaderboardV2_insertCostColHidden__Gwoq7",insertRowFadeIn:"VdbbenchLeaderboardV2_insertRowFa
1deIn__fvWnZ",rowValue:"VdbbenchLeaderboardV2_rowValue__VO0ZC",searchTable:"VdbbenchLeaderboardV2_searchTable__Sacga",searchEmpty:"VdbbenchLeaderboardV2_searchEmpty__3rmC8",searchHeader:"VdbbenchLeaderboardV2_searchHeader__nRENJ",searchRow:"VdbbenchLeaderboardV2_searchRow__s7jDJ",searchRowNoRecall:"VdbbenchLeaderboardV2_searchRowNoRecall__MtTAW",searchRowWithCost:"VdbbenchLeaderboardV2_searchRowWithCost__8LYAg",searchCostCol:"VdbbenchLeaderboardV2_searchCostCol__Xbpra",searchCostColHidden:"VdbbenchLeaderboardV2_searchCostColHidden__WoNDB",searchCostTrack:"VdbbenchLeaderboardV2_searchCostTrack__K6OIS",searchAxisHead:"VdbbenchLeaderboardV2_searchAxisHead__zs4NB",productName:"VdbbenchLeaderboardV2_productName__r66nt",productMeta:"VdbbenchLeaderboardV2_productMeta__Ls8BX",diverge:"VdbbenchLeaderboardV2_diverge__t_FDk",divergeLatency:"VdbbenchLeaderboardV2_divergeLatency__txP2T",divergeQps:"VdbbenchLeaderboardV2_divergeQps__wAShM",axis:"VdbbenchLeaderboardV2_axis__ScuwQ",barTrack:"VdbbenchLeaderboardV2_barTrack__SNw9D",left:"VdbbenchLeaderboardV2_left__r_aR9",barFill:"VdbbenchLeaderboardV2_barFill__SBTR6",barNumber:"VdbbenchLeaderboardV2_barNumber__n5BCg",rightAlign:"VdbbenchLeaderboardV2_rightAlign__K_4xo",recall:"VdbbenchLeaderboardV2_recall__In5M4",searchCost:"VdbbenchLeaderboardV2_searchCost__cFFJa",good:"VdbbenchLeaderboardV2_good__OAQti",warn:"VdbbenchLeaderboardV2_warn__hJmvN",bars:"VdbbenchLeaderboardV2_bars__stBCg",barRow:"VdbbenchLeaderboardV2_barRow__Shf1S",empty:"VdbbenchLeaderboardV2_empty__2N6CU",datasetNote:"VdbbenchLeaderboardV2_datasetNote__4cYrW",datasetNoteTitle:"VdbbenchLeaderboardV2_datasetNoteTitle__vpF7p",datasetNoteList:"VdbbenchLeaderboardV2_datasetNoteList__C5iDo",caseNotes:"VdbbenchLeaderboardV2_caseNotes__zIeEe",caseNotesHead:"VdbbenchLeaderboardV2_caseNotesHead__S3bO7",caseNotesIntro:"VdbbenchLeaderboardV2_caseNotesIntro__Qp5J6",caseNotesToggle:"VdbbenchLeaderboardV2_caseNotesToggle__t6X1b",caseNotesToggleOpen:"VdbbenchLeaderboardV2_caseNotesToggleOpen__PFGdB",crossoverLegend:"VdbbenchLeaderboardV2_crossoverLegend__Rmd_y",coldGrid:"VdbbenchLeaderboardV2_coldGrid__YLd7i",coldCard:"VdbbenchLeaderboardV2_coldCard__ljiOp",coldCardHead:"VdbbenchLeaderboardV2_coldCardHead__qxCa0",coldBars:"VdbbenchLeaderboardV2_coldBars__YTiu3",coldBarRow:"VdbbenchLeaderboardV2_coldBarRow__tArQI",coldBarLabel:"VdbbenchLeaderboardV2_coldBarLabel__CTVhU",coldBarTrack:"VdbbenchLeaderboardV2_coldBarTrack__5h4gY",coldBarFill:"VdbbenchLeaderboardV2_coldBarFill__9LqF4",coldBarVal:"VdbbenchLeaderboardV2_coldBarVal__MTnmy",progressAnimation:"VdbbenchLeaderboardV2_progressAnimation__WU2qU",spin:"VdbbenchLeaderboardV2_spin__VP9dI"}},9489:function(e){e.exports={container:"page_container__wdEFV",summitContainer:"page_summitContainer__V4O1F",borderBox:"page_borderBox__ip7Sl",progressAnimation:"page_progressAnimation__0918o",spin:"page_spin__yH9id"}}},function(e){e.O(0,[61679,49943,93846,18625,92888,49774,40179],function(){return e(e.s=38593)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.