以下是Postman在CentOS中的性能优化方法:
sudo yum update -y
/etc/sysctl.conf
,添加以下参数并执行sudo sysctl -p
:net.ipv4.tcp_tw_reuse = 1
net.ipv4.tcp_max_syn_backlog = 8192
vm.swappiness = 10
systemctl disable firewalld NetworkManager
/etc/fstab
,添加noatime,nodiratime
选项,重新挂载文件系统。top
监控资源使用情况。~/.config/Postman
)。newman
运行测试用例,适合自动化场景。参考来源: