# Performance tests for RapydScript's use of kwargs, unfortunately
# even with the memoization optimization, the operation is still
# nowhere close to the performance of original.
# Author: Alexander Tsepkov

def func(a, b, c):
    return a + b + c

bench.add('regular call', def():
    func(1, 2, 3)
)
bench.add('args call', def():
    func(*[1, 2, 3])
)
bench.add('kwargs call', def():
    func(c=3, b=2, a=1)
)

