国产欧美精品一区二区,中文字幕专区在线亚洲,国产精品美女网站在线观看,艾秋果冻传媒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
  • 出版日期:
文章二維碼
瓦房店市| 新竹市| 思茅市| 马公市| 惠安县| 石河子市| 商丘市| 东乡族自治县| 海盐县| 海林市| 宝坻区| 类乌齐县| 乐昌市| 无为县| 中西区| 武宣县| 五台县| 卢氏县| 天水市| 古田县| 阳信县| 开封市| 永定县| 广饶县| 孙吴县| 朔州市| 丹寨县| 大田县| 江安县| 临安市| 丁青县| 葫芦岛市| 马尔康县| 交城县| 隆回县| 霍城县| 太谷县| 文化| 渑池县| 昭通市| 上饶县|