Skip to content

[BUG] Incorrect queryTime when running NDS #245

@amahussein

Description

@amahussein

Describe the bug

I noticed that the queryTime reported by the benchmark can be completely off.
For example, NDS query32 was reported to run for 8 seconds while its actual time was 1.07 seconds. The 1.07 seconds matches the SHS UI and the rapids-tools report.

The root reason is that we use the current time upon return to the python code. This is not reliable way of measuring the actual query time.

start_time = int(time.time() * 1000)
fn(*args)
end_time = int(time.time() * 1000)

We should instead extract the query execution time from an eventlistener, or from the evntlog itself.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions