GithubHelp home page GithubHelp logo

hasnainroopawalla / vscode-python-timeit Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 18.58 MB

A Visual Studio Code extension to view the execution time of any Python function on the fly.

Home Page: https://marketplace.visualstudio.com/items?itemName=HasnainRoopawalla.vscode-python-timeit

License: MIT License

TypeScript 100.00%
python execution-time functions timeit typescript

vscode-python-timeit's Introduction

Visual Studio Code Extension - Python TimeIt

VS Code Python Time It Logo


Visual Studio Marketplace Version Visual Studio Marketplace Downloads Visual Studio Marketplace Installs Visual Studio Marketplace Installs

View the execution time of any Python function on the fly.

Demo

Demo

Features

  • Simply select/highlight the entire function (including import statements if required) with the cursor and trigger the Time It command.

  • The generated function call with the specified arguments and the execution time is inserted as a comment below the selected code.

  • Uses the built-in Python3 time module to efficiently compute the execution time.

  • Handles various kinds of Python function definitions, including type hints and default values.

Installation

The extension can be installed from the Visual Studio Marketplace.

Contributing

The source code for this extension is hosted on GitHub.

  • Post any issues and suggestions to the GitHub issues page.
  • To contribute, fork the project and then create a pull request back to master.

License

This project is licensed under the MIT License - see the LICENSE file for details

vscode-python-timeit's People

Contributors

hasnainroopawalla avatar

Watchers

 avatar

vscode-python-timeit's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.