import timeit
from Tkinter import Tk
root=Tk()
root.overrideredirect(True)
root.geometry("{0}x{1}+0+0".format(root.winfo_screenwidth(),root.winfo_screenheight()))
def conf():
root.configure(background='red')
print(timeit.Timer(stmt=conf).timeit(1))
root.mainloop()