Skip to content

dhtperformance: total time display wrong when doing parallel requests #187

@gavin-norman-sociomantic

Description

I assume this happens with all request types, but I noticed it while doing Get requests:
./dhtperformance -S new-1-AP-dhtmemory.xml -m get -c usermap_10088180265682214291 -i 0 -n 1000000 -p 50

The total time listed on the console (avg: 198.99μs, count: 996600, total: 198.72s) increases at a rate much faster than reality. Either the process is running on an incredibly dense planet or there's a bug. (I suspect the timer is updated once for each parallel connection where it should only be updated once.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions