【24h】

Energy Profiles of Java Collections Classes

机译:Java集合类的能源概况

获取原文
获取原文并翻译 | 示例

摘要

We created detailed profiles of the energy consumed by common operations done on Java List, Map, and Set abstractions. The results show that the alternative data types for these abstractions differ significantly in terms of energy consumption depending on the operations. For example, an ArrayList consumes less energy than a LinkedList if items are inserted at the middle or at the end, but consumes more energy than a LinkedList if items are inserted at the start of the list. To explain the results, we explored the memory usage and the bytecode executed during an operation. Expensive computation tasks in the analyzed bytecode traces appeared to have an energy impact, but memory usage did not contribute. We evaluated our profiles by using them to selectively replace Collections types used in six applications and libraries. We found that choosing the wrong Collections type, as indicated by our profiles, can cost even 300% more energy than the most efficient choice. Our work shows that the usage context of a data structure and our measured energy profiles can be used to decide between alternative Collections implementations.
机译:我们创建了Java List,Map和Set抽象上完成的常见操作所消耗的能量的详细配置文件。结果表明,根据操作的不同,这些抽象的替代数据类型在能耗方面也存在很大差异。例如,如果在中间或末尾插入项目,则ArrayList的能耗比LinkedList少,但是如果在列表的开头插入项目,则LinkLinkList的能耗比LinkedList多。为了解释结果,我们探讨了内存使用情况和操作期间执行的字节码。分析的字节码轨迹中的昂贵计算任务似乎具有能量影响,但内存使用没有贡献。我们通过使用配置文件选择性地替换六个应用程序和库中使用的Collections类型来评估配置文件。我们发现,如配置文件所示,选择错误的“收藏夹”类型比最有效的选择可节省300%的能源。我们的工作表明,可以使用数据结构的使用上下文和我们测得的能源配置文件来决定其他Collections实现之间的关系。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号