Understanding Performance Concerns in the API Documentation of Data Science Libraries
Yida Tao, Jiefang Jiang, Yepang Liu, Zhiwu Xu, Shengchao Qin
Abstract
The development of efficient data science applications is often impeded by unbearably long execution time and rapid RAM exhaustion. Since API documentation is the primary information source for troubleshooting, we investigate how performance concerns are documented in popular data science libraries. Our quantitative results reveal the prevalence of data science APIs that are documented in performance-related context and the infrequent maintenance activities on such documentation. Our qualitative analyses further reveal that crowd documentation like Stack Overflow and GitHub are highly complementary to official documentation in terms of the API coverage, the knowledge distribution, as well as the specific information conveyed through performance-related content. Data science practitioners could benefit from our findings by learning a more targeted search strategy for resolving performance issues. Researchers can be more assured of the advantages of integrating both the official and the crowd documentation to achieve a holistic view on the performance concerns in data science development.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext efb6f30d-aecc-4cd0-9634-65ec5312fdd1Related papers
- Towards Understanding Performance Bugs in Popular Data Science LibrariesHaowen Yang, Zhengda Li, Zhiqing Zhong, Xiaoying Tang et al.FSE 2025 · 2 citations
- Exploring how deprecated Python library APIs are (not) handledJiawei Wang, Li Li, Kui Liu, Haipeng CaiFSE 2020 · 52 citations
- Demystifying "bad" error messages in data science librariesYida Tao, Zhihui Chen, Yepang Liu, Jifeng Xuan et al.FSE 2021 · 6 citations
- Energy-Efficient Software Development: A Multi-dimensional Empirical Analysis of Stack OverflowBihui Jin, Heng Li, Pengyu Nie, Ying ZouICSE 2026 · 1 citation
- Demystify official API usage directives with crowdsourced API misuse scenarios, erroneous code examples and patchesXiaoxue Ren, Jiamou Sun, Zhenchang Xing, Xin Xia et al.ICSE 2020 · 28 citations
