Brandon Edwards
07/26/2022, 5:16 PMlist()
function to just call wirebox.getInstance("Rant@v6")
100 times, and it takes about 1500ms (not including any framework init processes).
Alternatively, is there a way to inject mementifier and cbvalidation functionality into an object without using Wirebox?bdw429s
07/26/2022, 5:51 PMBrandon Edwards
07/26/2022, 6:21 PMvar target = variables.scopes[ mapping.getScope() ].getFromScope( mapping, arguments.initArguments );
takes about 80% of the time spent in getInstance(): 1428ms when getInstance() in total takes up 1801ms.
I was curious what mapping.getScope() returns - 1 NoScope, 100 noscope, 202 singleton.
With 1801ms total time in getInstance(), 1464ms of that is when mapping.getScope() is "noscope".
Not sure how useful this will be - if I can't vastly improve the performance of Wirebox, I can't use it. Even 300ms response time for a "page" of 100 objects is a lot.bdw429s
07/26/2022, 6:37 PMbdw429s
07/26/2022, 6:37 PMbdw429s
07/26/2022, 9:25 PM