Lune

ASE2020Top-tier venue

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 Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. Towards Understanding Performance Bugs in Popular Data Science LibrariesHaowen Yang, Zhengda Li, Zhiqing Zhong, Xiaoying Tang et al.FSE 2025 · 2 citations
  2. Exploring how deprecated Python library APIs are (not) handledJiawei Wang, Li Li, Kui Liu, Haipeng CaiFSE 2020 · 52 citations
  3. Demystifying "bad" error messages in data science librariesYida Tao, Zhihui Chen, Yepang Liu, Jifeng Xuan et al.FSE 2021 · 6 citations
  4. Energy-Efficient Software Development: A Multi-dimensional Empirical Analysis of Stack OverflowBihui Jin, Heng Li, Pengyu Nie, Ying ZouICSE 2026 · 1 citation
  5. 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
Dusk over the sea between two cliffs drawn in fine vertical lines