Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/apple/foundationdb
/ single_set
Method
single_set
tests/python_tests/python_performance.py:301–303 ·
view source on GitHub ↗
(self, tr)
Source
from the content-addressed store, hash-verified
299
300
@fdb.transactional
301
def
single_set(self, tr):
302
key = self.random_key()
303
tr[key] = self.value(key)
304
305
def
run_write_transaction(self, db, count=1000):
306
s = time.time()
Callers
1
run_write_transaction
Method · 0.95
Calls
2
random_key
Method · 0.95
value
Method · 0.95
Tested by
no test coverage detected