3 ms·
> it’s not uncommon for us to encounter 30-50% time spent in GC Hmm... not sure if that's just C#, or if I should start profiling my Java apps a lot more close
by EdwardDiego 13y ago
> it’s not uncommon for us to encounter 30-50% time spent in GC
Hmm... not sure if that's just C#, or if I should start profiling my Java apps a lot more closely.
- stusmall 13y agoI'd written a JVM project a while ago that also spent an ungodly amount of time in GC. You can create bottlenecks almost anywhere given enough (lack of) effort. Who knows how finely tuned these projects were or what their load was like before a rewrite. A rewrite in a new language gives you more benefits than just the new language , it also gives you the benefit of hindsight. The ability to fix mistakes made in the first implementation can go a long way.
- EdwardDiego 13y ago> Who knows how finely tuned these projects were or what their load was like before a rewrite. A rewrite in a new language gives you more benefits than just the new language , it also gives you the benefit of hindsight. The ability to fix mistakes made in the first implementation can go a long way. That's a very good point with these rewrite stories - you could happen to rewrite some really poor code while porting and boom! Language Y is 50% more performant!