Skip to content

subgraph speed/scaling alternatives #147

Description

@yakra

Memory bandwidth alternatives

short namecommitparentdiffdescription / comments
TMGibfe86f0fc400d9fixedreduce 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
TMGf950400cfc400d9OKreduce 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
TMGf254e5a7dTMGfOKallocate fstr once and pass, rather than reallocate thousands of times
TMGf3f93ed18TMGf2fixededge labels: instead of std::string construction & copying, just insert its components into the ofstream

CPU time alternatives

short namecommitparentdiffdescription / comments
vToDof181bf5sets -> lists & bools: vertices
ebb4e450f181bf5OKsets -> lists & bools: edges
(shortname formerly hge)
tToDof181bf5sets -> lists & bools: travelers
ve22cf13b1c204a8
rebase?
OKsets -> lists & bools: vertices, edges
(shortname formerly mv)
vtToDof181bf5sets -> lists & bools: vertices, travelers
etToDof181bf5sets -> lists & bools: edges, travelers
vet77af90e22cf13bOKsets -> 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-buildvetvevtetvet
no-buildfc4009dc200686bb4e4507a67ce422cf13be3e708ea08dd6c77af90e
ibfe86f0xxxxxxx
i3cd244c5
f1950400c8c10540661a59ba8b269a584c37b27f909f3e41a76824e2b8
f254e5a7d1afe9a8758f082dcfb20daedc633d2b66cec87a8e2ab9c7a5
f3f93ed183b94f3834aecf6f5fb4c1f38426d94130de9f33c1a11a9f42
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