Skip to content

Commit

Permalink
add log
Browse files Browse the repository at this point in the history
  • Loading branch information
aspeddro committed Dec 21, 2024
1 parent 6c4b076 commit 7f459e3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/docstrings_examples/DocTest.res
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,8 @@ let main = async () => {
// Console.log2("module length", modules->Array.length)
let chuncks = modules->chunkArray(batchSize)

// Console.log2("chuncks length", chuncks->Array.length)
// Console.log2("chunck part size", chuncks->Array.map(f => f->Array.length))
Console.log2("chuncks length", chuncks->Array.length)
Console.log2("chunck part size", chuncks->Array.map(f => f->Array.length))

let context = ref(0)

Expand Down
2 changes: 2 additions & 0 deletions tests/docstrings_examples/DocTest.res.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,8 @@ async function main() {
}).map(f => getExamples(extractDocFromFile(Path.join("runtime", f)))).flat();
let batchSize = (Os.cpus().length << 1);
let chuncks = chunkArray(modules, batchSize);
console.log("chuncks length", chuncks.length);
console.log("chunck part size", chuncks.map(f => f.length));
let context = {
contents: 0
};
Expand Down

0 comments on commit 7f459e3

Please sign in to comment.