Skip to content
Snippets Groups Projects
Commit ffcb8592 authored by Radek Hušek's avatar Radek Hušek Committed by Radek Hušek
Browse files

timeit.md: Add simple time measurement

parent ed269fbf
No related branches found
No related tags found
No related merge requests found
timit.md 0 → 100644
Command:
--------
``groupConnectivity.generateSubdivisions(
"/tmp/cube.sub",
graphs.CubeGraph(3),
graphs.CubeGraph(3).edges()[0:2],
function = lambda H: "%-20s Z4: %-5s Z2_2: %s" % (
H.graph6_string(),
groupConnectivity.testGroupConnectivity(H, "Z4")[0],
groupConnectivity.testGroupConnectivity(H, "Z2_2")[0]
)
)
``
Output:
-------
``# Subdivisions of edges '[('000', '001', None), ('000', '010', None)]' of graph 'Gr`HOk' (3-Cube)
Gr`HOk Z4: True Z2_2: True
HkL@GgJ Z4: True Z2_2: True
IpOX?cI@W Z4: True Z2_2: True
HqL@GgJ Z4: True Z2_2: True
I[OX?cI@W Z4: True Z2_2: True
JM__W_H@OD_ Z4: False Z2_2: False
IqGX?cI@W Z4: True Z2_2: True
JdO_W_H@OD_ Z4: False Z2_2: False
K`h?_KG@GD?J Z4: False Z2_2: False
``
Time measurement:
-----------------
Measured on snehulak (Intel i5 5257U)
- commit 8126213c7cd5: 24.4 s
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment