Skip to content

Cashe timezone so that timezone file only has to be accessed once per simulation. #380

@jhs507

Description

@jhs507

Currently simulations run very slowly on certain systems because in StandardConverterUtility.cpp on line 83 and 105 the function mktime is called which looks up the timezone of the local system. This look up takes a significant amount of time on certain systems where this file is stored on a slow drive.

The time zone should be cashed after being retrieved once and a call which does not require a system lookup should be used instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    CoreIssue is related to the core code.performance

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions