flow trace minor change

This commit is contained in:
AF 2022-07-13 04:05:00 +03:00
parent d72c714f81
commit 8f43c157c1
2 changed files with 2 additions and 4 deletions

View File

@ -14,7 +14,7 @@ __all__ = ('get_dr', 'target_str', 'jsonify', 'get_fn', 'jsonify_list', 'dump',
def get_dr() -> ExtendableResolver:
dr = DictResolver()
dr = DelayedResolver(dr, lambda: random.uniform(0.200, 0.500))
# dr = CachingResolver(dr)
dr = CachingResolver(dr)
return dr

View File

@ -6,7 +6,6 @@ from nacl.signing import SigningKey
from plot import *
from rainbowadn.collection.trees.binary import *
from rainbowadn.collection.trees.binary.actions import *
from rainbowadn.core import *
from rainbowadn.flow13 import *
from rainbowadn.instrument import *
@ -21,7 +20,6 @@ def get_instrumentations() -> list[Instrumentation]:
sleep_cc,
Concurrency(ActiveBinaryTree, 'add'),
Concurrency(ActiveBinaryTree, 'contains'),
Concurrency(BinaryAction, 'on'),
]
@ -75,7 +73,7 @@ async def _trace():
set_gather_linear()
bank = await _generate(
16,
8, 15,
32, 63,
8, 15,
)
# bank = await _generate(