Skip to content

Conversation

@timfish
Copy link
Collaborator

@timfish timfish commented Sep 21, 2022

I was using my Windows machine for the first time in ages and noticed this remaining bash script.

This PR converts the script to TypeScript and calls ts-node

@timfish
Copy link
Collaborator Author

timfish commented Sep 22, 2022

Builds are now run in parallel.

On this machine previously yarn build in integrations took around 60 seconds. Now it completes in roughly 10s.

@timfish
Copy link
Collaborator Author

timfish commented Sep 22, 2022

Oh no! I had the !== 'index.ts' logic inverted so it was only building an integration for index.ts 🤦‍♂️

Now I've fixed this and added a --parallel flag we have:

  • Sequential - 55s
  • Parallel - 27s

So it's still about 2x as quick on this machine.

Copy link
Member

@lobsterkatie lobsterkatie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This has long been on my mental backlog - thanks for finally getting it done!

@AbhiPrasad AbhiPrasad merged commit 2e2acf1 into getsentry:master Sep 22, 2022
@timfish timfish deleted the fix/node-bundles branch September 23, 2022 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants