Skip to content

Commit

Permalink
Merge branch 'perf-exercises'
Browse files Browse the repository at this point in the history
  • Loading branch information
bobjacobsen committed Aug 28, 2017
2 parents 2dc5fea + 380622d commit c813068
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions CSC/ex3.html
Original file line number Diff line number Diff line change
Expand Up @@ -136,5 +136,10 @@ <h1>Exercise 3: Demonstration of profiling tools</h1>
(Hint: When checking
factors, should you check <u>up to</u> the square root of the
number, or <u>up to and including</u> the square root?)

<P>
Note: You can't go too far with using sampling tools and small samples; those can really
mislead you. See the article on "How Profilers Lie" in the
<a href="https://docs.google.com/document/d/1Jvb1zYRibzOw74VKnGsmTVfWkQcOxb_yc8JboebFDpA/edit#heading=h.so1co78qtmfd">Bilbiography</a> for more on this.
</body>
</html>
5 changes: 3 additions & 2 deletions CSC/ex4.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,9 @@ <h1>Exercise 4: Practice tuning a small application</h1>
There are some hints at the bottom.

<P>
I suggest you start by looking at where the program is spending its time. See if you can
improve that. There are some obvious hot spots that will help you make progress.
I suggest you start by looking afor evidence of where the program is spending unnecessary time.
See if you can improve those places first.
There are some obvious hot spots that will help you make progress.
<P>
Don't forget to recompile with ./build after changing the program!
<p>
Expand Down

0 comments on commit c813068

Please sign in to comment.