paperbot · PL 论文追踪

全部论文 待读 收藏

P2 How Do API Selections Affect the Runtime Performance of Data Analytics Tasks?

API 选择如何影响数据分析任务的运行时性能?
ASE 2019 34th IEEE/ACM International Conference on Automated Software Engineering (ASE)2019匹配度 2/10 · 该论文关注数据 analytics API 替代实现的抽取及其运行时性能差异,属于软件工程/API 推荐与性能优化方向,与用户核心关注的静态分析、LLM/Agent、浮点程序分析或贝叶斯程序分析没有直接交集。引用 12 inbox
Yida Tao, Shan Tang, Yepang Liu, Zhiwu Xu, Shengchao Qin
crossref: 2026-09-12

AI 速览

一句话:提出利用 Stack Overflow 对比结构抽取数据分析 API 替代实现,并揭示其运行时性能差异。

随着数据规模与复杂度迅速增长,数据分析程序的运行时性能成为开发者关注重点。开发者有时会在保持功能等价的前提下,改用其他数据分析 API 来提升性能,但学界对这类替代 API 的特征与性能属性仍缺乏了解。本文提出一种新方法,利用 Stack Overflow 讨论中的对比结构,抽取调用不同数据分析 API 来解决同一任务的替代实现。评估显示,抽取出的代码对中 86% 被验证为真实替代实现;在这些代码对中,超过 20% 的较快实现相对较慢实现报告了 10 倍或更高的加速。该研究为 API 推荐提供了新视角,并有望推动数据分析程序优化研究。

问题
数据分析程序性能重要,开发者会用替代 API 提升性能,但替代 API 的特征与性能属性尚不清楚。
方法
提出利用 Stack Overflow 讨论中的对比结构,抽取调用不同 API 完成同一任务的替代代码实现。
评估
人工验证抽取代码对,86% 为真实替代实现;超过 20% 的代码对中较快实现报告 10 倍以上加速。
原文摘要(Abstract)

As data volume and complexity grow at an unprecedented rate, the performance of data analytics programs is becoming a major concern for developers. We observed that developers sometimes use alternative data analytics APIs to improve program runtime performance while preserving functional equivalence. However, little is known on the characteristics and performance attributes of alternative data analytics APIs. In this paper, we propose a novel approach to extracting alternative implementations that invoke different data analytics APIs to solve the same tasks. A key appeal of our approach is that it exploits the comparative structures in Stack Overflow discussions to discover programming alternatives. We show that our approach is promising, as 86% of the extracted code pairs were validated as true alternative implementations. In over 20% of these pairs, the faster implementation was reported to achieve a 10x or more speedup over its slower alternative. We hope that our study offers a new perspective of API recommendation and motivates future research on optimizing data analytics programs.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot5291,
  title = {How Do API Selections Affect the Runtime Performance of Data Analytics Tasks?},
  author = {Yida Tao and Shan Tang and Yepang Liu and Zhiwu Xu and Shengchao Qin},
  booktitle = {ASE},
  year = {2019},
  doi = {10.1109/ase.2019.00067}
}