[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmicommits] [lmi] valyuta/004 7192b10 2/2: Expunge temporary validatin
From: 
Greg Chicares 
Subject: 
[lmicommits] [lmi] valyuta/004 7192b10 2/2: Expunge temporary validating assertion 
Date: 
Mon, 21 Dec 2020 17:27:36 0500 (EST) 
branch: valyuta/004
commit 7192b1098fdbb55efa2b6bb00b317c13ccf4e99d
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Expunge temporary validating assertion
'Speed_*' files show the speedup due to the preceding commit (without
its temporary assertion, which was intended only for acceptance testing
and has been removed in this commit).

Speed_gcc_i686w64mingw32  12 ++++++
Speed_gcc_x86_64pclinuxgnu  12 ++++++
Speed_gcc_x86_64w64mingw32  12 ++++++
ihs_avmly.cpp  13 
4 files changed, 18 insertions(+), 31 deletions()
diff git a/Speed_gcc_i686w64mingw32 b/Speed_gcc_i686w64mingw32
index c7e4093..540df84 100644
 a/Speed_gcc_i686w64mingw32
+++ b/Speed_gcc_i686w64mingw32
@@ 1,7 +1,7 @@
Test speed:
 naic, no solve : 5.829e02 s mean; 58099 us least of 18 runs
 naic, specamt solve : 1.076e01 s mean; 107301 us least of 10 runs
 naic, ee prem solve : 9.776e02 s mean; 97594 us least of 11 runs
 finra, no solve : 1.733e02 s mean; 17199 us least of 58 runs
 finra, specamt solve: 6.469e02 s mean; 61764 us least of 16 runs
 finra, ee prem solve: 5.712e02 s mean; 56948 us least of 18 runs
+ naic, no solve : 5.662e02 s mean; 56456 us least of 18 runs
+ naic, specamt solve : 1.046e01 s mean; 104413 us least of 10 runs
+ naic, ee prem solve : 9.531e02 s mean; 95126 us least of 11 runs
+ finra, no solve : 1.710e02 s mean; 17008 us least of 59 runs
+ finra, specamt solve: 6.073e02 s mean; 60546 us least of 17 runs
+ finra, ee prem solve: 5.594e02 s mean; 55845 us least of 18 runs
diff git a/Speed_gcc_x86_64pclinuxgnu b/Speed_gcc_x86_64pclinuxgnu
index 9ed9940..8ab1024 100644
 a/Speed_gcc_x86_64pclinuxgnu
+++ b/Speed_gcc_x86_64pclinuxgnu
@@ 1,7 +1,7 @@
Test speed:
 naic, no solve : 2.471e02 s mean; 23555 us least of 41 runs
 naic, specamt solve : 4.276e02 s mean; 42035 us least of 24 runs
 naic, ee prem solve : 3.894e02 s mean; 38466 us least of 26 runs
 finra, no solve : 6.447e03 s mean; 6240 us least of 100 runs
 finra, specamt solve: 2.347e02 s mean; 23063 us least of 43 runs
 finra, ee prem solve: 2.161e02 s mean; 21346 us least of 47 runs
+ naic, no solve : 2.189e02 s mean; 20973 us least of 46 runs
+ naic, specamt solve : 3.823e02 s mean; 37721 us least of 27 runs
+ naic, ee prem solve : 3.486e02 s mean; 34353 us least of 29 runs
+ finra, no solve : 6.173e03 s mean; 5884 us least of 100 runs
+ finra, specamt solve: 2.168e02 s mean; 21288 us least of 47 runs
+ finra, ee prem solve: 1.988e02 s mean; 19448 us least of 51 runs
diff git a/Speed_gcc_x86_64w64mingw32 b/Speed_gcc_x86_64w64mingw32
index 25c4644..e09e70d 100644
 a/Speed_gcc_x86_64w64mingw32
+++ b/Speed_gcc_x86_64w64mingw32
@@ 1,7 +1,7 @@
Test speed:
 naic, no solve : 2.894e02 s mean; 28834 us least of 35 runs
 naic, specamt solve : 4.942e02 s mean; 49167 us least of 21 runs
 naic, ee prem solve : 4.534e02 s mean; 45212 us least of 23 runs
 finra, no solve : 1.072e02 s mean; 10600 us least of 94 runs
 finra, specamt solve: 2.921e02 s mean; 29075 us least of 35 runs
 finra, ee prem solve: 2.714e02 s mean; 27009 us least of 37 runs
+ naic, no solve : 2.785e02 s mean; 27677 us least of 36 runs
+ naic, specamt solve : 4.754e02 s mean; 47259 us least of 22 runs
+ naic, ee prem solve : 4.362e02 s mean; 43432 us least of 23 runs
+ finra, no solve : 1.064e02 s mean; 10484 us least of 94 runs
+ finra, specamt solve: 2.838e02 s mean; 28221 us least of 36 runs
+ finra, ee prem solve: 2.642e02 s mean; 26297 us least of 38 runs
diff git a/ihs_avmly.cpp b/ihs_avmly.cpp
index aa22266..73933bd 100644
 a/ihs_avmly.cpp
+++ b/ihs_avmly.cpp
@@ 2212,19 +2212,6 @@ void AccountValue::TxCreditInt()
currency notional_sep_acct_charge = C0;
 { // Temporary validating assertion.
 // SOMEDAY !! This should be done in the interestrate class.
 double gross_sep_acct_rate = i_upper_12_over_12_from_i<double>()
 (InterestRates_>SepAcctGrossRate(SepBasis_)[Year]
 );
 gross_sep_acct_rate = round_interest_rate()(gross_sep_acct_rate);
 if(mce_gen_mdpt == GenBasis_)
 {
 gross_sep_acct_rate = 0.0;
 }
 LMI_ASSERT(gross_sep_acct_rate == YearsSepAcctGrossRate);
 }

if(C0 < AVSepAcct)
{
SepAcctIntCred = InterestCredited(AVSepAcct, YearsSepAcctIntRate);