Skip to content

Commit

Permalink
Removed cruft.
Browse files Browse the repository at this point in the history
  • Loading branch information
emeryberger committed Jul 26, 2020
1 parent e2642ad commit 435eb18
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 36 deletions.
4 changes: 2 additions & 2 deletions benchmarks/julia1_nopil.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,9 @@ def calc_pure_python(desired_width, max_iterations):
cs.append(complex(c_real, c_imag))
print("Length of x:", len(x))
print("Total elements:", len(zs))
start_time = time.time()
start_time = time.process_time()
output = calculate_z_serial_purepython(max_iterations, zs, cs)
end_time = time.time()
end_time = time.process_time()
secs = end_time - start_time
sys.stdout.flush()
sys.stderr.flush()
Expand Down
4 changes: 2 additions & 2 deletions heaplayers-make.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# CPPFLAGS = -std=c++17 -flto -g -fno-builtin-malloc -O3 -DNDEBUG -fvisibility=hidden
CPPFLAGS = -std=c++17 -g -O3 -DNDEBUG -fno-builtin-malloc -fvisibility=hidden
CPPFLAGS = -std=c++17 -g -O3 -flto -DNDEBUG -fno-builtin-malloc -fvisibility=hidden
# CPPFLAGS = -std=c++17 -g -O3 -fno-builtin-malloc -fvisibility=hidden
CXX = clang++

INCLUDES = -I. -I./include -IHeap-Layers -IHeap-Layers/wrappers -IHeap-Layers/utility
Expand Down
32 changes: 0 additions & 32 deletions scalene/old/reservoir.py

This file was deleted.

4 changes: 4 additions & 0 deletions test/testme.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,16 @@ def stuff():
y = np.random.randint(1, 100, size=5000000)[4999999]
x = 1.01
for i in range(1,10):
print(i)
for j in range(1,10):
x = doit1(x)
x = doit2(x)
x = doit3(x)
x = 1.01
return x

import sys
print("TESTME")
print(sys.argv)
stuff()

0 comments on commit 435eb18

Please sign in to comment.