HyProf: A Profiler for Programming Students that Offers Hypotheses about Performance Bugs
Author(s)
Dargan, Hope; Hartz, Adam; Miller, Robert
Download3770762.3772564.pdf (1.271Mb)
Publisher with Creative Commons License
Publisher with Creative Commons License
Creative Commons Attribution
Terms of use
Metadata
Show full item recordAbstract
Programming students often struggle to find and fix performance bugs in their code. To provide students additional performance debugging support, as well as expose them to profiling tools, we developed Hypothesis Profiler (HyProf). HyProf automatically profiles a slow student submission and produces a profile visualization suitable for learners. In addition to showing individual function and line times, HyProf shows details about the call graph, lines that made recursive calls or did not execute, and hypotheses about possible causes of slow performance, formulated by comparing the slow profile against fast submissions from other students. We deployed HyProf in a 400-student Python course and evaluated it through web logs, office hour observations, and surveys, which showed that 75% of respondents successfully used HyProf to find or fix a performance issue and 85% would recommend it to others.
Description
SIGCSE TS 2026, St. Louis, MO, USA
Date issued
2026-02-17Department
Massachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratory; Massachusetts Institute of Technology. Department of Electrical Engineering and Computer SciencePublisher
ACM|Proceedings of the 57th ACM Technical Symposium on Computer Science Education V.1
Citation
Hope Dargan, Adam J. Hartz, and Robert C. Miller. 2026. HyProf: A Profiler for Programming Students that Offers Hypotheses about Performance Bugs. In Proceedings of the 57th ACM Technical Symposium on Computer Science Education V.1 (SIGCSE TS 2026), Vol. 1. Association for Computing Machinery, New York, NY, USA, 253–259.
Version: Final published version
ISBN
979-8-4007-2256-1
Collections
The following license files are associated with this item: