You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While the overall QuantLib test suite comparison between XAD and no-XAD shows a 1.73x performance impact (using GCC 13 on Ubuntu with an Intel(R) Xeon(R) W-2295 CPU @ 3.00GHz), some tests, such as testPathwiseGreeks, exhibit up to a 4x performance hit. These discrepancies need to be investigated to understand the root cause of the larger-than-expected performance degradation.
For context, XAD employs operator overloading with expression templates, which can significantly strain the compiler. This stress varies based on the compiler choice, the application of compiler flags, and other factors. Addressing these challenges requires a multifaceted approach:
Profiling: Conduct detailed profiling to identify specific performance bottlenecks. This step is crucial as it may reveal that the AD version suffers due to the compiler's inability to optimise certain expression templates effectively.
Optimising Expressions: Performance can often be improved by carefully rewriting expressions and adjusting loop structures. These optimisations should not compromise the performance of standard double-precision calculations.
The text was updated successfully, but these errors were encountered:
While the overall QuantLib test suite comparison between XAD and no-XAD shows a 1.73x performance impact (using GCC 13 on Ubuntu with an Intel(R) Xeon(R) W-2295 CPU @ 3.00GHz), some tests, such as
testPathwiseGreeks
, exhibit up to a 4x performance hit. These discrepancies need to be investigated to understand the root cause of the larger-than-expected performance degradation.For context, XAD employs operator overloading with expression templates, which can significantly strain the compiler. This stress varies based on the compiler choice, the application of compiler flags, and other factors. Addressing these challenges requires a multifaceted approach:
The text was updated successfully, but these errors were encountered: