Following #65, we should add benchmarks for possible future performance investigations. Feel free to add to the list of functions to benchmark. - [x] direct calls to the residual Helmholtz energy function given a `StateHD` (circumventing closure construction and cache) [#89 ]. - [x] Helmholtz energy - [x] first derivative using `Dual64` - [x] second derivative using `HyperDual64` - [x] third derivative using `Dual3` - [x] Properties of `State` (creating a `State` inside benchmark or manually clearing cache) [#89] - [x] functions including algorithms / solver - [x] `PhaseEquilibrium`: constructors - [x] critical point - [ ] DFT - [ ] surface tension - [x] pores - [ ] Python - [ ] identifying overhead ## Notes - Compare impact of compiler options - `lto = "thin"` versus `lto = true` - `target-cpu=native` - and more?
Following #65, we should add benchmarks for possible future performance investigations.
Feel free to add to the list of functions to benchmark.
StateHD(circumventing closure construction and cache) [Add benchmarks and Cargo profile using link-time optimization #89 ].Dual64HyperDual64Dual3State(creating aStateinside benchmark or manually clearing cache) [Add benchmarks and Cargo profile using link-time optimization #89]PhaseEquilibrium: constructorsNotes
lto = "thin"versuslto = truetarget-cpu=native