question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Do you really need rpt2?

See original GitHub issue

What happens and why it is wrong

Related to #79 and #148

Just a quick PSA in case it will help people out. I was using this plugin because it was convenient but building would take 2gb of memory and a long time. I narrowed down the issue to this plugin. Now I’m simply using tsc then plugging in the js input to rollup instead and my build time is down about 5x and memory down about 100x.

I’m not knocking on the hard work @ezolenko (thanks for the plugin) has done in this project, and I’m sure it’s still useful to those with smaller projects, but if you’re like me and see performance issues, think if you really need this plugin because the perf costs are high.

Just my 2 cents…

Versions

  • typescript: 3.6.4
  • rollup: 1.26.3
  • rollup-plugin-typescript2: 0.25.1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:1
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

6reactions
adrianmclicommented, Nov 10, 2019

@mikob

Now I’m simply using tsc then plugging in the js input to rollup instead and my build time is down about 5x and memory down about 100x.

Thanks for the data point, as someone still trying to decided if I want to start my next TS library with Rollup, can you give us a summary of how you did this?

0reactions
agilgur5commented, Sep 5, 2022

Hi folks, just doing some housekeeping in the issues. I’m going to close this one out as it’s gone quite stale (no comments in 2+ years) and only has one upvote.

This issue also does not have a specific course of action nor much specific performance tunings – please see #148 for some discussion on various tunings / configurations / benchmarks. I’ve also described some Rollup + rpt2 nuances in https://github.com/ezolenko/rollup-plugin-typescript2/issues/148#issuecomment-1237444300 there. There may be other optimizations to be had in other issues with specific recommendations such as #113, but this one is too generic to really be actionable.

That being said, please feel free to continue recommending specific optimizations and the performance characteristics of different configurations here and in #148, as those can be helpful / useful, especially to other users!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Rpt2 proteasome subunit reduction causes Parkinson's ... - NCBI
As mentioned above, a reduction of the Rpt2 subunit in the dopaminergic neurons induces hyperactivity and sleep disorders.
Read more >
Regulation of plant phototropic growth by NPH3/RPT2-like ...
Here we demonstrate that NPH3 is directly phosphorylated by phot1 within a conserved C-terminal consensus sequence (RxS) that is necessary to ...
Read more >
Cancer Staging - American Cancer Society
Staging is the process of finding out how much cancer there is in the body and where it is located. Doctors use this...
Read more >
rollup-plugin-typescript2 - Bountysource
Once I upgraded TS to v3.4.2, the compilation time is very slow. ... I tried with clean: true , I tried to add...
Read more >
D-Star Reflector Linking - HOTERA.org
If not you can still learn a lot about D-STAR Reflectors here but may need someone to help you program your radio. Programming...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found