skip to main content
10.1145/3030207.3053656acmconferencesArticle/Chapter ViewAbstractPublication PagesicpeConference Proceedingsconference-collections
invited-talk

Micro-Benchmarking Considered Harmful

Published:17 April 2017Publication History

ABSTRACT

Measuring the time spent on small individual fractions of program code is a common technique for analysing performance behavior and detecting performance bottlenecks. The benefits of the approach include a detailed individual attribution of performance and understandable feedback loops when experimenting with different code versions. There are however severe pitfalls when following this approach that can lead to vastly misleading results. Modern dynamic compilers use complex optimisation techniques that take a large part of the program into account. There can be therefore unexpected side-effects when combining different code snippets or even when running a presumably unrelated part of the code. This talk will present performance paradoxes with examples from the domain of dynamic compilation of Java programs. Furthermore, it will discuss an alternative approach to modelling code performance characteristics that takes the challenges of complex optimising compilers into account.

Index Terms

  1. Micro-Benchmarking Considered Harmful

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      ICPE '17: Proceedings of the 8th ACM/SPEC on International Conference on Performance Engineering
      April 2017
      450 pages
      ISBN:9781450344043
      DOI:10.1145/3030207

      Copyright © 2017 Owner/Author

      Permission to make digital or hard copies of part or all of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for third-party components of this work must be honored. For all other uses, contact the Owner/Author.

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 17 April 2017

      Check for updates

      Qualifiers

      • invited-talk

      Acceptance Rates

      ICPE '17 Paper Acceptance Rate27of83submissions,33%Overall Acceptance Rate252of851submissions,30%

      Upcoming Conference

    • Article Metrics

      • Downloads (Last 12 months)3
      • Downloads (Last 6 weeks)0

      Other Metrics

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader