File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
tests/docstrings_examples Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -326,7 +326,7 @@ let main = async () => {
326326 -> Array .map (f => extractDocFromFile (Path .join (["runtime" , f ]))-> getExamples )
327327 -> Array .flat
328328
329- let batchSize = OS .cpus ()-> Array .length * 4
329+ let batchSize = OS .cpus ()-> Array .length * 2
330330
331331 // Console.log2("module length", modules->Array.length)
332332 let chuncks = modules -> chunkArray (batchSize )
Original file line number Diff line number Diff line change @@ -362,7 +362,7 @@ async function main() {
362362 return acc . concat ( [ cur ] ) ;
363363 }
364364 } ) . map ( f => getExamples ( extractDocFromFile ( Path . join ( "runtime" , f ) ) ) ) . flat ( ) ;
365- let batchSize = ( Os . cpus ( ) . length << 2 ) ;
365+ let batchSize = ( Os . cpus ( ) . length << 1 ) ;
366366 let chuncks = chunkArray ( modules , batchSize ) ;
367367 let context = {
368368 contents : 0
You can’t perform that action at this time.
0 commit comments