Code Documentation 3.7
Social Network Visualizer
Loading...
Searching...
No Matches
matrix_storage_bench.cpp File Reference

Standalone WS5 A2.0 benchmark: QHash<int, QPair<int,qreal>> (current APSP storage, one per GraphVertex) vs. a flat Matrix (proposed APSP storage), measuring construction and lookup speed for a single (N, topology, structure) configuration per run. Peak RSS is measured externally by the driver script (see scripts/run_matrix_storage_bench.sh), not by this process itself — see the note above buildComponents() for why. More...

#include "../matrix.h"
#include <QElapsedTimer>
#include <QHash>
#include <QPair>
#include <QString>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <vector>
Include dependency graph for matrix_storage_bench.cpp:

Functions

int main (int argc, char *argv[])

Detailed Description

Standalone WS5 A2.0 benchmark: QHash<int, QPair<int,qreal>> (current APSP storage, one per GraphVertex) vs. a flat Matrix (proposed APSP storage), measuring construction and lookup speed for a single (N, topology, structure) configuration per run. Peak RSS is measured externally by the driver script (see scripts/run_matrix_storage_bench.sh), not by this process itself — see the note above buildComponents() for why.

See also
https://socnetv.org

Function Documentation

◆ main()

int main ( int argc,
char * argv[] )