Skip to content

brillout/tsx-slow-minimal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git clone git@github.com:brillout/tsx-slow-minimal
cd tsx-slow-minimal/
pnpm install

Same as single line (copy-paste me):

git clone git@github.com:brillout/tsx-slow-minimal && cd tsx-slow-minimal/ && pnpm install

Run index.ts with ts-node and measure how long it takes for console.log(vite) to show.

pnpm exec ts-node index.ts

Now run index.ts with tsx and measure how long it takes for console.log(vite) to show.

pnpm exec tsx --no-cache index.ts

Observe that tsx is much slower than ts-node.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published