Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
quadrismegistus committed Aug 21, 2024
1 parent c369ed5 commit 29fe6ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
4 changes: 1 addition & 3 deletions hashstash/profilers/serialize_profiler.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,8 @@ def time_function(func, *args, **kwargs):
def get_data_type(obj):
addr = get_obj_addr(obj)
return addr
# return 'builtins' if addr.split('.')[0]=='builtins' else addr#.split('.')[-1]

# @log.debug
@stashed_result(serializer='jsonpickle', store_args=False)
@stashed_result(store_args=False)
def compare_serializers(obj, recurse=True):
results = []
input_size_mb = len(serialize(obj).encode()) / 1024 / 1024
Expand Down
2 changes: 1 addition & 1 deletion notebooks/profile_serialize.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 1,
"execution_count": null,
"metadata": {},
"outputs": [
{
Expand Down

0 comments on commit 29fe6ce

Please sign in to comment.