简体   繁体   English

无法分析已迁移到新平台的一个 API 的吞吐量性能

[英]Unable to analyse Throughput Performance of One API which has been migrated to new platform

I have checking the performance one APIs which is performing in two systems therefore as the api has been migrated to new system i am doing the performance comparison from old system我已经检查了在两个系统中执行的一个 API 的性能,因此当 api 已迁移到新系统时,我正在与旧系统进行性能比较

Statistics as shown below:统计如下图:
New System: Thread -25 Ramp-up ~25新系统:线程 -25 加速 ~25
Avg -8sec Median - 7.8 95th percentile - 8.8 sec Throughput - 0.39平均 -8 秒 中位数 - 7.8 第 95 个百分位 - 8.8 秒 吞吐量 - 0.39

Old System: Thread -25 Ramp-up ~25旧系统:线程 -25 加速 ~25
Avg -10 sec Median - 10 95th percentile - 10 Throughput - 0.74平均 -10 秒 中位数 - 10 第 95 个百分位数 - 10 吞吐量 - 0.74

Here we can observe that the New System has taken less time for 25 Threads than old system but throughput is more Old System.在这里我们可以观察到,新系统在 25 个线程上花费的时间比旧系统少,但吞吐量比旧系统更多。

But Old System has Taken more time但是旧系统花费了更多时间

I am confused about the throughput which system is more efficient ?我对哪个系统更高效的吞吐量感到困惑?

One which has taken less time should have more throughput but here the lesser time taken has less throughput which makes me confused to understand the performance??花费更少时间的应该有更多的吞吐量,但是这里花费的时间越少,吞吐量越小,这让我对理解性能感到困惑?

can anyone help me here???有人能帮我一下吗???

As per JMeter Glossary :根据JMeter 词汇表

Throughput is calculated as requests/unit of time.吞吐量计算为请求/时间单位。 The time is calculated from the start of the first sample to the end of the last sample.时间从第一个样本开始到最后一个样本结束计算。 This includes any intervals between samples, as it is supposed to represent the load on the server.这包括样本之间的任何间隔,因为它应该代表服务器上的负载。

The formula is: Throughput = (number of requests) / (total time)公式为: Throughput = (number of requests) / (total time)

So double check total test duration for both test executions, my expectation is that the "new system test" took longer.因此,请仔细检查两次测试执行的总测试持续时间,我的期望是“新系统测试”需要更长的时间。

With regards to the reason I cannot state anything meaningful without seeing the full .jtl results files for both executions, I can only assume that it could be one very long request in the "new system" test or you're having a Timer with random think time somewhere in your test.关于在没有看到两次执行的完整 .jtl 结果文件的情况下我无法陈述任何有意义的原因的原因,我只能假设它可能是“新系统”测试中的一个非常长的请求,或者你有一个随机的计时器在测试中的某个地方思考时间

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 迁移到新服务器,性能降低 - Migrated to a new server, slow performance 迁移到 Hibernate 5.6 (Java 16) 的旧项目具有缓慢的一对一双向性能 - Legacy Project Migrated to Hibernate 5.6 (Java 16) Has Slow one-to-one bidirectional Performance 这些代码示例中的哪一个具有更好的性能? - Which one of these code samples has better performance? 哪个API在Kairos,/ verify或/ recognize中具有更好的性能? - Which API has better performance in Kairos, /verify or /recognize? 哪一个具有更快的运行时性能:WPF或Winforms? - Which one has a faster runtime performance: WPF or Winforms? SqlDataReader vs SqlDataAdapter:哪一个具有更好的返回DataTable的性能? - SqlDataReader vs SqlDataAdapter: which one has the better performance for returning a DataTable? MySQL - 哪个性能更好; “嵌套选择”还是“排序依据”? - MySQL - Which one has better performance; 'nested selects' or 'order by'? 以下哪项对性能更好: 使用 SQL Order By 或 Using Linq 加载数据后? - Which of the following is better for performance: Using SQL Order By or Using Linq After data has been loaded? PooledCloseableHttpClient影响性能吞吐量 - PooledCloseableHttpClient impacting performance throughput 这些哪个对性能更好 - which one these is better for performance
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM