国产欧美精品一区二区,中文字幕专区在线亚洲,国产精品美女网站在线观看,艾秋果冻传媒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
  • 出版日期:
文章二維碼
驻马店市| 平乐县| 津市市| 杂多县| 昆明市| 平阴县| 丰宁| 扬州市| 泸定县| 鄢陵县| 嵩明县| 滨州市| 德惠市| 视频| 调兵山市| 天长市| 旬阳县| 潞西市| 巩留县| 石台县| 昌江| 闽清县| 原阳县| 嘉义市| 桦甸市| 靖宇县| 漾濞| 文昌市| 长乐市| 北碚区| 隆化县| 广州市| 宜宾县| 彝良县| 高青县| 虞城县| 南漳县| 海阳市| 平罗县| 长宁区| 泽普县|