PageSourceSearch

https://inversify.io/assets/js/4bc4be33.4624fc18.js

js inversify.io collected 2026-10-02 08:20:20 UTC 3,092 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_inversifyjs_inversify_docs_site=self.webpackChunk_inversifyjs_inversify_docs_site||[]).push([["9066"],{15334(e,n,r){r.r(n),r.d(n,{assets:()=>l,contentTitle:()=>s,default:()=>u,frontMatter:()=>i,metadata:()=>t,toc:()=>c});var t=r(63407),o=r(89292),a=r(19736);r(86133);let i={slug:"a-year-of-resolution-performance",title:"A Year of Shaving Nanoseconds Off Dependency Injection",authors:["notaphplover"],tags:["performance"],image:"./cover.png"},s,l={image:r(92717).A,authorsImageUrls:[void 0]},c=[];function p(e){let n={code:"code",em:"em",p:"p",strong:"strong",...(0,a.R)(),...e.components};return(0,o.jsxs)(n.p,{children:["Every ",(0,o.jsx)(n.code,{children:"container.get()"})," call has to figure out ",(0,o.jsx)(n.em,{children:"how"})," to build what was asked for. That blueprint is a ",(0,o.jsx)(n.strong,{children:"plan"})," \u2014 and for a long time, computing it was the single biggest cost of a resolution. Over roughly a year, from InversifyJS 6 through 7 and into 8, planning and resolution were rebuilt from the ground up."]})}function u(e={}){let{wrapper:n}={...(0,a.R)(),...e.components};return n?(0,o.jsx)(n,{...e,children:(0,o.jsx)(p,{...e})}):p(e)}},92717(e,n,r){r.d(n,{A:()=>t});let t=r.p+"assets/images/cover-2535c7d941c5638750a233035885bb2d.png"},86133(e,n,r){r.d(n,{A:()=>i});var t=r(89292),o=r(8001),a=r(83888);o.A.initialize({});let i=({source:e,id:n})=>{let r=(0,a.useRef)(null);return(0,a.useEffect)(()=>{void 0!==e&&(async()=>{if(null!==r.current){r.current.innerHTML=e;let{svg:t,bindFunctions:a}=await o.A.render(`mermaid-diagram-${n}`,e);r.current.innerHTML=t,a?.(r.current)}})()},[n,e]),(0,t.jsx)("div",{className:"mermaidContainer_eEWq",id:n,ref:r})}},63407(e){e.exports=JSON.parse('{"permalink":"/blog/a-year-of-resolution-performance","source":"@site/blog/2026-07-27-a-year-of-resolution-performance/index.mdx","title":"A Year of Shaving Nanoseconds Off Dependency Injection","description":"Every container.get() call has to figure out how to build what was asked for. That blueprint is a plan \u2014 and for a long time, computing it was the single biggest cost of a resolution. Over roughly a year, from InversifyJS 6 through 7 and into 8, planning and resolution were rebuilt from the ground up.","date":"2026-07-27T00:00:00.000Z","tags":[{"inline":false,"label":"Performance","permalink":"/blog/tags/performance","description":"InversifyJS performance related posts"}],"readingTime":9.96,"hasTruncateMarker":true,"authors":[{"name":"Roberto Pintos L\xf3pez","title":"InversifyJS maintainer","url":"https://github.com/notaphplover","page":{"permalink":"/blog/authors/notaphplover"},"socials":{"github":"https://github.com/notaphplover"},"imageURL":"https://github.com/notaphplover.png","key":"notaphplover"}],"frontMatter":{"slug":"a-year-of-resolution-performance","title":"A Year of Shaving Nanoseconds Off Dependency Injection","authors":["notaphplover"],"tags":["performance"],"image":"./cover.png"},"unlisted":false,"nextItem":{"title":"Announcing InversifyJS 8.2","permalink":"/blog/announcing-inversify-8-2"}}')}}]);

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.