Skip to content

Commit 083fc46

Browse files
author
Elliot Kim
committed
adjusting required throughput
1 parent 67632b4 commit 083fc46

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

test-vine-task-throughput.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,11 @@ 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 > 1000);
70+
assert(throughput > 900);
7171

7272
printf("Chaining was %f tasks per second\n", chaining);
7373
printf("all tasks complete!\n");
74-
assert(chaining > 1000);
74+
assert(chaining > 1500);
7575
vine_delete(m);
7676

7777
return 0;

test-vine-task-throughput.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,11 @@ def main():
8484
print(f"\nServerless 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 >= 190, "Throughput in python api is less than required 190"
88-
assert chaining >= 155, "Throughput for chaining in python api is less than required 155"
89-
assert serverless_throughput >= 110, "Throughput using serverless is less than required 190"
90-
assert serverless_chaining >= 50, "Throughput for chaining using serverless is less than required 155"
91-
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"
91+
9292
if __name__ == '__main__':
9393
main()
9494

0 commit comments

Comments
 (0)