Skip to content

Ravikiran Talluri

Software Engineer

Tag: performance

timeit module

In this article, we will see about timeit module which can be used for performance testing for small functions. Example import timeit timeit.timeit(stmt="filter(None, [None. 2, 3, None, False, 4])", number=10000) stmt is the statement or code snippet to be executed number is the number of times to execute the statement You can also repeat a … Continue reading timeit module

Posted on May 27, 2021 by IamRavikiranTPosted in PythonTagged performance, Python. Leave a comment

Categories

  • Inspiration (3)
  • Motivation (3)
  • Object Oriented Programming (1)
  • OOPs (1)
  • Programming (4)
  • Python (8)
  • Python Basics (3)

Recent Posts

  • Inheritance Explained – Python September 14, 2023
  • Decorators Explained – Python June 30, 2023
  • Closures Explained – Python June 11, 2023
  • Scope Explained – Python March 4, 2023
  • Staying Humble February 2, 2022

Recent Comments

Blog at WordPress.com.
  • Subscribe Subscribed
    • Ravikiran Talluri
    • Already have a WordPress.com account? Log in now.
    • Ravikiran Talluri
    • Subscribe Subscribed
    • Sign up
    • Log in
    • Report this content
    • View site in Reader
    • Manage subscriptions
    • Collapse this bar