<s> import sys <EOL> import time <EOL> import pstats <EOL> import cProfile <EOL> import timeit <EOL> sys . path . insert ( <NUM_LIT:0> , '<STR_LIT:.>' ) <EOL> import vcfnp <EOL> def profile ( ) : <EOL> a = vcfnp . variants ( sys . argv [ <NUM_LIT:1> ] , count = int ( sys . argv [ <NUM_LIT:2> ] ) ) <EOL> prof_fn = '<STR_LIT>' <EOL> cmd = '<STR_LIT>' <EOL> cProfile . runctx ( cmd , globals ( ) , locals ( ) , prof_fn ) <EOL> s = pstats . Stats ( prof_fn ) <EOL> s . strip_dirs ( ) . sort_stats ( '<STR_LIT:time>' ) . print_stats ( ) <EOL> print timeit . repeat ( cmd , number = int ( sys . argv [ <NUM_LIT:3> ] ) , repeat = int ( sys . argv [ <NUM_LIT:4> ] ) , setup = '<STR_LIT>' ) </s>
