Skip to content

Commit

Permalink
Removing an unfinished benchmark test (and dependency)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexTate committed Dec 5, 2023
1 parent 0390bcc commit e1044f2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: check
on:
push:
# push:
pull_request:

concurrency:
Expand Down
13 changes: 0 additions & 13 deletions ShortSeq/tests/unit_tests_main.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import unittest
import time

from pympler.asizeof import asizeof

from ShortSeq import ShortSeq, ShortSeq64, ShortSeq128, ShortSeqVar
from ShortSeq import MIN_VAR_NT, MAX_VAR_NT, MIN_64_NT, MAX_64_NT, MIN_128_NT, MAX_128_NT
Expand Down Expand Up @@ -158,16 +155,6 @@ def test_slice(self):
self.assertEqual(sq[i:], sample[i:])
self.assertEqual(sq[-i:], sample[-i:])

def test_gzip_size_comparison(self):
sample = rand_sequence(MAX_64_NT, no_range=True)
import gzip

gz_bytes = gzip.compress(sample.encode())
print(asizeof(gz_bytes))
print(asizeof(sample.encode()))
print(asizeof(ShortSeq.from_str(sample)))



class ShortSeqVarTests(unittest.TestCase):
"""These tests address the variable length ShortSeq variant (ShortSeqVar)"""
Expand Down

0 comments on commit e1044f2

Please sign in to comment.