1"use strict";(self.webpackChunk=self.webpackChunk||[]).push([["3014"],{40702(e,t,a){a.r(t),a.d(t,{default:()=>l});var r=a(91987),n=a(71763),i=a(94390),s=a(90393),c=a(38770),o=a(42022),u=a(11197);function d(){let e=(0,s.P_)("benchmark-data"),t=(0,u.v)(),{setThemeMode:a}=(0,c.V)();return(0,n.useEffect)(()=>{a(t)},[t]),(0,r.jsx)(o.K,{data:e})}let l=function(){let e=(0,u.z)();return(0,r.jsx)(i.A,{title:"Benchmarks of JavaScript Package Managers",description:"How fast pnpm installs a project compared to npm, and how fast it installs Node.js compared to fnm and nvm.",children:(0,r.jsx)(c.Bi,{initialTheme:e,children:(0,r.jsx)(d,{})})})}},11197(e,t,a){a.d(t,{v:()=>i,z:()=>n});var r=a(71763);let n=()=>{if("u"<typeof window)return"light";let e=localStorage?.getItem("theme"),t=window?.matchMedia("(prefers-color-scheme: dark)").matches;return e??(t?"dark":"light")};function i(){let[e,t]=(0,r.useState)(n());return(0,r.useEffect)(()=>{if("u"<typeof document)return;let e=document.documentElement,a=new MutationObserver(()=>{t("dark"===e.getAttribute("data-theme")?"dark":"light")});return a.observe(e,{attributes:!0,attributeFilter:["data-theme"]}),()=>a.disconnect()},[]),e}}}]);
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.