-
-
Notifications
You must be signed in to change notification settings - Fork 23
Open
Description
it would be great to have a --verbose debug output so it would be possible to profile bottlenecks when denoifying node projects. for example, it took 17~25 seconds to convert this 800 loc program with 2 dependencies, which i believe to be bottlenecked by my configuration.
Details
$ tokei src/*
===============================================================================
Language Files Lines Code Comments Blanks
===============================================================================
TypeScript 5 789 684 19 86
===============================================================================
Total 5 789 684 19 86
===============================================================================
$ time pnpm denoify
> [email protected] denoify /home/scarf/repo/etc/one-time-contribution/ts-rest-hono
> rimraf deno_dist && denoify && rimraf --glob 'deno_dist/**/*.test.ts'
Denoify is reading sources files from src
Configurations from /home/scarf/repo/etc/one-time-contribution/ts-rest-hono/denoify.config.js are used
Deno distribution will be generated at deno_dist
________________________________________________________
Executed in 17.93 secs fish external
usr time 1.74 secs 260.00 micros 1.74 secs
sys time 0.34 secs 96.00 micros 0.34 secs
$ cat denoify.config.js
// @ts-check
/** @type { import('denoify/lib/config/parseParams').DenoifyParams } */
const config = {
out: 'deno_dist',
index: './src/index.ts',
ports: {
zod: 'https://deno.land/x/zod/mod.ts',
hono: 'https://deno.land/x/hono/mod.ts',
},
}
module.exports = configReactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels