Skip to content

subgraph speed/scaling alternatives #147

Closed
TravelMapping/DataProcessing
#404
@yakra

Description

@yakra

Memory bandwidth alternatives

short name commit parent diff description / comments
TMGi bfe86f0 fc400d9 fixed reduce string copies when writing graphs (inline)
Components written directly to file by HighwayGraph::write_*graphs_tmg instead of concatenating into a long std::string
*_tmg_line functions eliminated completely
TMGf 950400c fc400d9 OK reduce string copies when writing graphs (function)
Components written directly to file by HighwayGraph::write_*graphs_tmg instead of concatenating into a long std::string
*_tmg_line functions retained
TMGf2 54e5a7d TMGf OK allocate fstr once and pass, rather than reallocate thousands of times
TMGf3 f93ed18 TMGf2 fixed edge labels: instead of std::string construction & copying, just insert its components into the ofstream

CPU time alternatives

short name commit parent diff description / comments
v ToDo f181bf5 sets -> lists & bools: vertices
e bb4e450 f181bf5 OK sets -> lists & bools: edges
(shortname formerly hge)
t ToDo f181bf5 sets -> lists & bools: travelers
ve 22cf13b 1c204a8
rebase?
OK sets -> lists & bools: vertices, edges
(shortname formerly mv)
vt ToDo f181bf5 sets -> lists & bools: vertices, travelers
et ToDo f181bf5 sets -> lists & bools: edges, travelers
vet 77af90e 22cf13b OK sets -> lists & bools: vertices, edges, travelers
(shortname formerly mt)

Rubbish bin (epoch unless otherwise noted)

old TMGi was 9cdc37d
old TMGf3 was 9bcee48
old TMGr was 48797e1: old TMGf3 (9bcee48) rebased onto vet (77af90e)
TMGi bugfix (0993a1b on epoch) squashed
TMGf3 bugfix (e73a1bf on epoch) squashed
TMGr bugfix (c1d7eaf on epoch) squashed
etF: cherrypick e before rebasing onto TMGf.squashed: df4567a
etF before interactive rebase (2nd cherrypicked copy of unused verte3x vars removal): 6038cf3
Python attempt at 90edd7a on BiggaTomato. Very little difference (~2.3s?), probably just noise. Going no-build.


Mix & Match

  no-build v e t ve vt et vet
no-build fc4009d c200686 bb4e450 7a67ce4 22cf13b e3e708e a08dd6c 77af90e
i bfe86f0 x x x x x x x
i3 cd244c5              
f1 950400c 8c10540 661a59b a8b269a 584c37b 27f909f 3e41a76 824e2b8
f2 54e5a7d 1afe9a8 758f082 dcfb20d aedc633 d2b66ce c87a8e2 ab9c7a5
f3 f93ed18 3b94f38 34aecf6 f5fb4c1 f38426d 94130de 9f33c1a 11a9f42
cd ytm/DataProcessing/siteupdate/cplusplus/
git fetch
git checkout c200686; make siteupdate; mv siteupdate siteupdate_v
git checkout 7a67ce4; make siteupdate; mv siteupdate siteupdate_t
git checkout e3e708e; make siteupdate; mv siteupdate siteupdate_vt
git checkout a08dd6c; make siteupdate; mv siteupdate siteupdate_et
git checkout 3b94f38; make siteupdate; mv siteupdate siteupdate_vF3
git checkout f5fb4c1; make siteupdate; mv siteupdate siteupdate_tF3
git checkout 94130de; make siteupdate; mv siteupdate siteupdate_vtF3
git checkout 9f33c1a; make siteupdate; mv siteupdate siteupdate_etF3

# _v _t _vt _et _vF3 _tF3 _vtF3 _etF3

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions