Skip to content

Commit

Permalink
Attempt to improve upload performance (distributed-system-analysis#3501)
Browse files Browse the repository at this point in the history
Use subprocess tar command to extract files from tarball

PBENCH-1226
  • Loading branch information
webbnh authored Aug 2, 2023
1 parent 7682537 commit ca36407
Show file tree
Hide file tree
Showing 3 changed files with 631 additions and 250 deletions.
5 changes: 5 additions & 0 deletions lib/pbench/server/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from datetime import datetime, timedelta, tzinfo
from enum import auto, Enum
from logging import Logger
import os
from pathlib import Path
from time import time as _time
from typing import Dict, List, Optional, Union
Expand All @@ -21,6 +22,10 @@
JSONOBJECT = Dict[JSONSTRING, JSONVALUE]
JSON = JSONVALUE

# Define a type hint for "Path-like" parameters, so the cumbersomeness of the
# type won't discourage us from using it where it is warranted.
PathLike = Union[str, bytes, os.PathLike]


class OperationCode(Enum):
"""Enumeration for CRUD operations.
Expand Down
Loading

0 comments on commit ca36407

Please sign in to comment.