Skip to content

Commit 0dad4bb

Browse files
author
Elliot Kim
committed
removes assert and just prints throughput
1 parent 083fc46 commit 0dad4bb

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

test-vine-task-throughput.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,8 @@ int main(int argc, char *argv[])
6767
double chaining = tasksC / chaining_time;
6868

6969
printf("Throughput was %f tasks per second\n", throughput);
70-
assert(throughput > 900);
71-
7270
printf("Chaining was %f tasks per second\n", chaining);
7371
printf("all tasks complete!\n");
74-
assert(chaining > 1500);
7572
vine_delete(m);
7673

7774
return 0;

test-vine-task-throughput.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -81,13 +81,10 @@ def main():
8181

8282
print(f"\nThroughput was {throughput} tasks per second")
8383
print(f"Chaining was {chaining} tasks per second")
84-
print(f"\nServerless Throughput was {serverless_throughput} tasks per second")
84+
print(f"Serverless Throughput was {serverless_throughput} tasks per second")
8585
print(f"Serverless Chaining was {serverless_chaining} tasks per second")
8686
print("all tasks complete!")
87-
assert throughput >= 570, "Throughput in python api is less than required 190"
88-
assert chaining >= 510, "Throughput for chaining in python api is less than required 155"
89-
assert serverless_throughput >= 220, "Throughput using serverless is less than required 190"
90-
assert serverless_chaining >= 200, "Throughput for chaining using serverless is less than required 155"
87+
9188

9289
if __name__ == '__main__':
9390
main()

0 commit comments

Comments
 (0)