diff --git a/frontend/src/business/components/performance/test/components/PerformancePressureConfig.vue b/frontend/src/business/components/performance/test/components/PerformancePressureConfig.vue index a4186764a0..5d12041217 100644 --- a/frontend/src/business/components/performance/test/components/PerformancePressureConfig.vue +++ b/frontend/src/business/components/performance/test/components/PerformancePressureConfig.vue @@ -626,6 +626,7 @@ export default { smooth: false, symbolSize: 5, showSymbol: false, + sampling: 'lttb', itemStyle: { color: hexToRgb(color[i % color.length]), borderColor: 'rgba(137,189,2,0.27)', @@ -633,6 +634,10 @@ export default { }, }; + if (tg.rampUpTime > 10000) { + this.$warning(this.$t('load_test.ramp_up_tips')); + return; + } let timePeriod = Math.floor(tg.rampUpTime / tg.step); let timeInc = timePeriod; diff --git a/frontend/src/i18n/en-US.js b/frontend/src/i18n/en-US.js index fc509226ae..5eff777a39 100644 --- a/frontend/src/i18n/en-US.js +++ b/frontend/src/i18n/en-US.js @@ -991,6 +991,7 @@ export default { ramp_up_time_within: 'In', ramp_up_time_minutes: 'seconds, separate', ramp_up_time_seconds: 'seconds add VUs', + ramp_up_tips: 'The RampUp is too large, the chart rendering will not be displayed, this does not affect the test execution, please refer to the actual results', iterate_num: 'Iterations', by_iteration: 'By iterations', by_duration: 'By duration', diff --git a/frontend/src/i18n/zh-CN.js b/frontend/src/i18n/zh-CN.js index 8c4c510220..45b7618c39 100644 --- a/frontend/src/i18n/zh-CN.js +++ b/frontend/src/i18n/zh-CN.js @@ -995,6 +995,7 @@ export default { ramp_up_time_within: '在', ramp_up_time_minutes: '秒内,分', ramp_up_time_seconds: '秒内增加并发用户', + ramp_up_tips: 'RampUp 过大,图表渲染卡顿不予展示,这并不影响测试执行,请以实际结果为准', iterate_num: '迭代次数', by_iteration: '按迭代次数', by_duration: '按持续时间', diff --git a/frontend/src/i18n/zh-TW.js b/frontend/src/i18n/zh-TW.js index c01b7ebdf5..c16da04a10 100644 --- a/frontend/src/i18n/zh-TW.js +++ b/frontend/src/i18n/zh-TW.js @@ -995,6 +995,7 @@ export default { ramp_up_time_within: '在', ramp_up_time_minutes: '秒內,分', ramp_up_time_seconds: '秒內增加並發用戶', + ramp_up_tips: 'RampUp 過大,圖表渲染卡頓不予展示,這並不影響測試執行,請以實際結果為準', iterate_num: '叠代次數', by_iteration: '按叠代次數', by_duration: '按持續時間',