I would recommend using JSR223 PostProcessor About performance: In JMeter's official user manual, About reducing resource requirements in Best Practice. There is one suggestion said that "Use the most performing scripting language (see JSR223 section
性能测试最佳实践之JMeter 16. Best Practices 16.1 Always use latest version of JMeter The performance of JMeter is being constantly improved, so users are highly encouraged to use the most up to date version. Ensure you always read changes list to be aware of