国产欧美精品一区二区,中文字幕专区在线亚洲,国产精品美女网站在线观看,艾秋果冻传媒2021精品,在线免费一区二区,久久久久久青草大香综合精品,日韩美aaa特级毛片,欧美成人精品午夜免费影视

大規模C++工程單元測試性能優(yōu)化研究
DOI:
CSTR:
作者:
作者單位:

北京郵電大學(xué)

作者簡(jiǎn)介:

通訊作者:

中圖分類(lèi)號:

基金項目:

國家自然科學(xué)基金項目(面上項目,重點(diǎn)項目,重大項目)


Research on Unit Testing Performance Optimization of Large-scale C++ Project
Author:
Affiliation:

Fund Project:

  • 摘要
  • |
  • 圖/表
  • |
  • 訪(fǎng)問(wèn)統計
  • |
  • 參考文獻
  • |
  • 相似文獻
  • |
  • 引證文獻
  • |
  • 資源附件
  • |
  • 文章評論
    摘要:

    為了解決自動(dòng)化單元測試工具在測試大規模C++工程時(shí)經(jīng)常發(fā)生內存溢出故障且耗時(shí)較長(cháng)這一問(wèn)題,在測試流程中引入了緩存優(yōu)化技術(shù),并提出了一種面向不同測試方式的緩存優(yōu)化方法。當用戶(hù)直接對整個(gè)工程進(jìn)行測試時(shí),系統將采用緩存預取的方式,通過(guò)設計的緩存預取模型,在緩存出現讀缺失之前為其提供數據塊;當用戶(hù)對單個(gè)文件進(jìn)行測試時(shí),系統將采用改進(jìn)的GDSF替換算法進(jìn)行緩存替換。實(shí)驗表明,該方法能夠有效的避免此類(lèi)單元測試工具發(fā)生內存溢出故障并減少了測試的時(shí)間,使其支持的被測工程規模由5000行左右增加至十幾萬(wàn)行,大大提升了系統的性能。

    Abstract:

    In order to solve the problem that the automatic unit test tool often occurs memory overflow failure and takes a long time when testing large-scale C++ projects, the cache optimization technology is introduced in the test process, and a cache optimization method for different testing methods is proposed. When the user directly tests the entire project, the system will adopt the cache prefetch method. Through the designed cache prefetch model, it will provide data blocks for the cache before read misses; When the user tests a single file, the system will use the improved GDSF replacement algorithm for cache replacement. Experiments show that this method can effectively avoid memory overflow failures of such unit test tools and reduce the test time. The scale of the tested project supported by it has increased from about 5,000 lines to more than 100,000 lines, which greatly improves the performance of the system.

    參考文獻
    相似文獻
    引證文獻
引用本文

劉堂臣,王雅文,宮云戰.大規模C++工程單元測試性能優(yōu)化研究計算機測量與控制[J].,2022,30(2):17-23.

復制
分享
文章指標
  • 點(diǎn)擊次數:
  • 下載次數:
  • HTML閱讀次數:
  • 引用次數:
歷史
  • 收稿日期:2021-11-18
  • 最后修改日期:2021-12-15
  • 錄用日期:2021-12-31
  • 在線(xiàn)發(fā)布日期: 2022-02-22
  • 出版日期:
文章二維碼
扶沟县| 界首市| 全南县| 修水县| 静宁县| 会同县| 肃北| 剑川县| 陆河县| 建瓯市| 施甸县| 社会| 江都市| 黄浦区| 施秉县| 常熟市| 固原市| 肥西县| 罗江县| 颍上县| 滕州市| 定陶县| 西乌珠穆沁旗| 马关县| 卢龙县| 和顺县| 浏阳市| 库车县| 邯郸市| 玛曲县| 海城市| 浑源县| 乡城县| 元阳县| 德庆县| 武山县| 马山县| 水城县| 乌鲁木齐市| 荆门市| 休宁县|