You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I was consuming a 25gb JSON file (array of objects) and I was profiling my code to try and improve performance:
letsecond=false;oboe(myDataStream).node('!.*',myObject=>{if(second){console.timeEnd('stream');process.exit();}// business logic in here...second=true;console.time('stream');returnoboe.drop;})
and it takes about 1ms on average per object, which is the bottleneck of my code.
Is there a way where I can have .node send me a chunk of like 500 objects? Or would that not improve performance anyway since technically oboe has already done a large chunk of IO?
Thanks!
The text was updated successfully, but these errors were encountered:
Hi, I was consuming a 25gb JSON file (array of objects) and I was profiling my code to try and improve performance:
and it takes about 1ms on average per object, which is the bottleneck of my code.
Is there a way where I can have
.node
send me a chunk of like 500 objects? Or would that not improve performance anyway since technically oboe has already done a large chunk of IO?Thanks!
The text was updated successfully, but these errors were encountered: