News for hackers. Stuff that matters.
Re:Free MIT Course: Performance Engineering of Software Systems by a1o on Wednesday January 10, 2024 @04:01PM (#38943078)
> there is normally much lower-hanging fruit

Yeap, usually it's more about properly profiling your application on the CPU and memory dimensions, occasionally instrumenting if necessary, experimenting different measurements and tools to have a good picture of your software bottlenecks and where there are gains.

Knowing the full picture and where the issues are you can then proceed to these specifics of optimizing your code for performance in these spots, or using a specific library that solves better that problem or what is usually an approach that gives better gain, rethinking knowing the limitations and finding a better design for the problem that part of the code is trying to solve.

Re:Free MIT Course: Performance Engineering of Software Systems by explaininjs on Wednesday January 10, 2024 @07:07PM (#38945477)
I do not know why this thread is dismissive of the course when that is precisely what the first few lectures of the course teach, and every subsequent assignment treats “profile and instrument the code” as the (sometimes inferred) step 0.

But it’s an 18 unit course, it’d be a disservice to the students (and the world at-large, considering the potential impact of performance engineering) if we stopped there.

(I TA’d this class)

Re:Free MIT Course: Performance Engineering of Software Systems by jstanley on Thursday January 11, 2024 @05:00AM (#38950100)
I haven't taken the course, I was just going off the lecture titles. The first 3 lectures are entitled:

  Introduction and Matrix Multiplication
  Bentley Rules for Optimizing Work
  Bit Hacks
Re:Free MIT Course: Performance Engineering of Software Systems by explaininjs on Thursday January 11, 2024 @07:25AM (#38951291)
“Measurement and Timing” is lecture 10. We started with small independent programs and worked up to systems, in much the same way you would not teach an individual to paint by telling them the Sistine Chapel needs a patch fixed.

But yes, I do agree profiling is step 0 to performance engineering.