performance: add more linux results.

This commit is contained in:
jzmaddock 2019-12-12 16:55:07 +00:00
parent 89bc8417f3
commit e376b0eebe
5 changed files with 1500 additions and 916 deletions

View File

@ -176,6 +176,7 @@ install performance_test_install : performance_test : <location>. ;
install sf_performance_install : sf_performance : <location>. ;
install . : linpack_benchmark_double linpack_benchmark_cpp_float linpack_benchmark_mpf linpack_benchmark_mpfr linpack_benchmark_native_float128 linpack_benchmark_float128 linpack_benchmark_cpp_quad_float linpack_benchmark_cpp_oct_float ;
install delaunay_install : delaunay_test : <location>. ;
install voronoi_install : voronoi_performance : <location>. ;

View File

@ -630,7 +630,8 @@ void test_int_ops(tester<Number, N>& t, const char* type, unsigned precision, co
report_result(cat, type, "&(int)", precision, t.test_and_int());
report_result(cat, type, "^(int)", precision, t.test_xor_int());
report_result(cat, type, "gcd", precision, t.test_gcd());
report_result(cat, type, "powm", precision, t.test_powm());
if(precision <= 1024)
report_result(cat, type, "powm", precision, t.test_powm());
}
template <class Number, int N, class U>
void test_int_ops(tester<Number, N>&, const char*, unsigned, const U&)

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,25 @@
Time for extended_int = 0.0366527
Time for int256_t = 0.0270196
Time for int512_t = 0.0291243
Time for int1024_t = 0.0368107
Time for checked_int256_t = 0.0326167
Time for checked_int512_t = 0.0340095
Time for checked_int1024_t = 0.0415328
Time for cpp_int = 0.0487904
Time for mpz_int = 0.103619
Time for tom_int = 1.12504
[table
[[Integer Type][Relative Performance (Actual time in parenthesis)]]
[[checked_int1024_t][1.53714(0.0415328s)]]
[[checked_int256_t][1.20715(0.0326167s)]]
[[checked_int512_t][1.2587(0.0340095s)]]
[[cpp_int][1.80575(0.0487904s)]]
[[extended_int][1.35652(0.0366527s)]]
[[int1024_t][1.36237(0.0368107s)]]
[[int256_t][1(0.0270196s)]]
[[int512_t][1.0779(0.0291243s)]]
[[mpz_int][3.83495(0.103619s)]]
[[tom_int][41.6378(1.12504s)]]
]
Time for int64_t = 0.0128646
Time for number<arithmetic_backend<boost::int64_t>, et_off> = 0.0129255

View File

@ -97,7 +97,7 @@ struct cpp_int_voronoi_traits
return efpt_type(val, 0);
}
template <class tag, class Arg1, class Arg2, class Arg3, class Arg4>
double operator()(const boost::multiprecision::detail::expression<tag, Arg1, Arg2, Arg3, Arg4>& e)
efpt_type operator()(const boost::multiprecision::detail::expression<tag, Arg1, Arg2, Arg3, Arg4>& e)
{
typedef typename boost::multiprecision::detail::expression<tag, Arg1, Arg2, Arg3, Arg4>::result_type r_t;
r_t r(e);