bessagroup / rvesimulator

Automated representative volume element simulator via abaqus for material constitutive law discovery
https://bessagroup.github.io/rvesimulator/
MIT License
14 stars 2 forks source link

Use time.perf_counter() instead of time.time() for timing #60

Closed mpvanderschelling closed 10 months ago

mpvanderschelling commented 10 months ago

Problem

time.perf_counter() is more precise than time.time() and should be used for timing.

Possible Solution

Replace time.time() with time.perf_counter().

Assignees: Labels:

https://github.com/bessagroup/rvesimulator/blob/ea31752a6da3131cfe55027895ac23ddf684f3de/src/rvesimulator/abaqus2py/abaqus_simulator.py#L231