How can a Java program be optimized? I have no experience in this thematic so I could use some key words so I acn go deeper into it!
Thanks
rinko 0 Newbie Poster
Recommended Answers
Jump to Posta mocking framework won't tell you what needs optimising.
A profiler may, but not a mock object (if anything it will likely hide the reason for any performance problems).Most often when people "optimise" code they are just guessing where the problems are, grasping at straws and doing things …
Jump to PostI've seen highly experienced people go wrong on "optimisation" when they didn't know the underlying machine instructions being generated (and few people know those).
That was C of course, but in Java deep knowledge is often also needed to get beyond the blatantly obvious stuff.Things like loop and …
Jump to Postnice, but how are you going to trace the time needed for the functionality you replaced by those mocks (which usually is the expensive stuff like database and network operations)?
All 10 Replies
thekashyap 193 Practically a Posting Shark
jwenting 1,905 duckman Team Colleague
~s.o.s~ 2,560 Failure as a human Team Colleague Featured Poster
jwenting 1,905 duckman Team Colleague
thekashyap 193 Practically a Posting Shark
jwenting 1,905 duckman Team Colleague
thekashyap 193 Practically a Posting Shark
thekashyap 193 Practically a Posting Shark
lucky1981_iway 0 Light Poster
thekashyap 193 Practically a Posting Shark
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.