首页> 外文会议>International Conference on Numerical Methods and Applications >Statistically Significant Comparative Performance Testing of Julia and Fortran Languages in Case of Runge-Kutta Methods
【24h】

Statistically Significant Comparative Performance Testing of Julia and Fortran Languages in Case of Runge-Kutta Methods

机译:在跑为Kutta方法的情况下,朱莉娅和Fortran语言的统计上显着的比较性能测试

获取原文

摘要

In this paper we compare the performance of classical Runge-Kutta methods implemented in Fortran and Julia languages. We use the technique described in technical report by Tomas Kalibera and Richard E. Jones from University of Kent. This technique allows to solve the following problems. 1. The determination of the number of runs required by the program to pass the warm-up stage (e.g. JIT-compilation, memory buffers filling). 2. The determination of the optimal number of levels of the experiment and the number of repetitions at each level for robust testing. 3. The construction of the confidence interval for the resulting average run time. For the numerical experiment we implement 6-th order classical Runge-Kutta methods in both languages in the most similar way. We also study unvectorized versions of our functions. For Julia we tested not only built-in vectorization capabilities, but also external library. For processing the results of measurements Python 3 with Matplotlib, NumPy and SciPy (stats module) were used. We carried out experiments for variety of ODE dimensions (from 2 to 64) and different types of processors. Our work may be interesting not only for the results of comparison of the new Julia language with Fortran, but also for the robust testing method demonstration.
机译:在本文中,我们可以比较Fortran和Julia语言中实现的古典跑步方法的性能。我们使用Tomas Kalibera和Richard E. Jones的技术报告中描述的技术。该技术允许解决以下问题。 1.确定程序通过预热阶段的运行数量的确定(例如,JIT编译,内存缓冲区填充)。 2.确定实验的最佳数量和每个级别的重复次数,用于鲁棒测试。 3.建造所产生的平均运行时间的置信区间。对于数值实验,我们以最类似的方式在两种语言中实施第6次级速率-Kutta方法。我们还研究了我们功能的未驾视版本。对于朱莉娅,我们不仅测试了内置的矢量化功能,还测试了外部库。为了处理测量结果,使用Matplotlib,numpy和scipy(stats模块)。我们对各种颂(2至64)和不同类型的处理器进行了实验。我们的工作可能很有趣,而不仅仅是对FORTRAN的新朱莉娅语言的比较结果,而且还可用于稳健的测试方法演示。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号