MCPcopy Create free account
hub / github.com/feast-dev/feast / roundtrip

Function roundtrip

sdk/python/tests/benchmarks/test_key_encoding_benchmarks.py:253–255  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

251 """Benchmark complete serialize + deserialize round-trip for single entity."""
252
253 def roundtrip():
254 serialized = serialize_entity_key(single_entity_key, 3)
255 return deserialize_entity_key(serialized, 3)
256
257 result = benchmark(roundtrip)
258 assert result == single_entity_key

Callers

nothing calls this directly

Calls 2

serialize_entity_keyFunction · 0.90
deserialize_entity_keyFunction · 0.90

Tested by

no test coverage detected