Loop perforation
Loop perforation is an approximate computing technique that allows to regularly skip some iterations of a loop. It relies on one parameter: the perforation rate. The perforation rate can be interpreted as the number of iteration to skip each time or the number of iterations to perform before skipping one. Variants of loop perforation include those that skip iterations deterministically at regular intervals, those that skip iterations at the beginning or the end of the loop, and those that skip a random sample of iterations. The compiler may select the perforation variant at the compile-time, or include instrumentation that allows the runtime system to adaptively adjust the perforation strategy and perforation rate to satisfy the end-to-end accuracy goal. Loop perforation techniques were first developed by MIT professor Martin C. Rinard and researchers in his group, Henry Hoffmann, Sasa Misailovic, and Stelios Sidiroglou.
Loop perforation is an approximate computing technique that allows to regularly skip some iterations of a loop. It relies on one parameter: the perforation rate. The perforation rate can be interpreted as the number of iteration to skip each time or the number of iterations to perform before skipping one. Variants of loop perforation include those that skip iterations deterministically at regular intervals, those that skip iterations at the beginning or the end of the loop, and those that skip a random sample of iterations. The compiler may select the perforation variant at the compile-time, or include instrumentation that allows the runtime system to adaptively adjust the perforation strategy and perforation rate to satisfy the end-to-end accuracy goal. Loop perforation techniques were first developed by MIT professor Martin C. Rinard and researchers in his group, Henry Hoffmann, Sasa Misailovic, and Stelios Sidiroglou. ==Code examples== The examples that follows provide the result of loop perforation applied on this C-like source code for (int i = 0; i ===Skip n iterations each time=== for (int i = 0; i ===Skip one iteration after n=== int count = 0; for (int i = 0; i ==See also== Approximate computing Task skipping Memoization
References
- Using Code Perforation to Improve Performance, Reduce Energy Consumption, and Respond to Failures · retrieved 2026-11-17 · rev 1353928148
Cite this reference
MLA "Using Code Perforation to Improve Performance, Reduce Energy Consumption, and Respond to Failures." Henry Hoffmann, Sasa Misailovic, Stelios Sidiroglou, Anant Agarwal, Martin Rinard "Using Code Perforation to Improve Per. 2026-11-17. https://dspace.mit.edu/handle/1721.1/46709. Accessed 24 November 2026.
Chicago "Using Code Perforation to Improve Performance, Reduce Energy Consumption, and Respond to Failures." Henry Hoffmann, Sasa Misailovic, Stelios Sidiroglou, Anant Agarwal, Martin Rinard "Using Code Perforation to Improve Per. 2026-11-17. https://dspace.mit.edu/handle/1721.1/46709.
APA Henry Hoffmann, Sasa Misailovic, Stelios Sidiroglou, Anant Agarwal, Martin Rinard "Using Code Perforation to Improve Per. (2026). Using Code Perforation to Improve Performance, Reduce Energy Consumption, and Respond to Failures. Retrieved November 24, 2026, from https://dspace.mit.edu/handle/1721.1/46709
- Quality of Service Profiling · retrieved 2026-11-17 · rev 1353928148
Cite this reference
MLA "Quality of Service Profiling." Sasa Misailovic, Stelios Sidiroglou, Henry Hoffmann, Martin C. 2026-11-17. https://dl.acm.org/doi/10.1145/1806799.1806808. Accessed 24 November 2026.
Chicago "Quality of Service Profiling." Sasa Misailovic, Stelios Sidiroglou, Henry Hoffmann, Martin C. 2026-11-17. https://dl.acm.org/doi/10.1145/1806799.1806808.
APA Sasa Misailovic, Stelios Sidiroglou, Henry Hoffmann, Martin C. (2026). Quality of Service Profiling. Retrieved November 24, 2026, from https://dl.acm.org/doi/10.1145/1806799.1806808
- Managing Performance vs. Accuracy Trade-offs With Loop Perforation. · retrieved 2026-11-17 · rev 1353928148
Cite this reference
MLA "Managing Performance vs. Accuracy Trade-offs With Loop Perforation." Steilos Sidiroglou, Sasa Misailovic, Henry Hoffmann, and Martin Rinard. 2026-11-17. https://dl.acm.org/doi/10.1145/2025113.2025133. Accessed 24 November 2026.
Chicago "Managing Performance vs. Accuracy Trade-offs With Loop Perforation." Steilos Sidiroglou, Sasa Misailovic, Henry Hoffmann, and Martin Rinard. 2026-11-17. https://dl.acm.org/doi/10.1145/2025113.2025133.
APA Steilos Sidiroglou, Sasa Misailovic, Henry Hoffmann, and Martin Rinard. (2026). Managing Performance vs. Accuracy Trade-offs With Loop Perforation. Retrieved November 24, 2026, from https://dl.acm.org/doi/10.1145/2025113.2025133
Cite this article
MLA
"Loop perforation." encyclopegia.org, 2026, https://encyclopegia.org/wiki/loop-perforation. Accessed 24 November 2026.
Chicago
"Loop perforation." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/loop-perforation.
APA
encyclopegia.org. (2026). Loop perforation. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/loop-perforation
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON