Skip to content

New features for timing functions #322

Closed

Description

@natashawatkins

.tic, .tac, .toc are relatively basic at the moment.

As discussed in #319, possible improvements include:

  • printing results with fewer decimal places by default
  • suppressing output
  • choosing appropriate units of measurement (similar to %timeit)
  • running loops (like %timeit)

Activity

  1. albop commented on Aug 6, 2017

    @albop
    Contributor

    Another suggestion could be to print the file/line number from where the function is called. This could be done with a bit of metamagic (and a small performance cost).
    For running loops, maybe something like #125 could be handy.

  2. albop commented on Aug 6, 2017

    @albop
    Contributor

    Also, a jitable version of tic,tac,toc would be cool. There is a bit of a trade-off between jitteability and functionalities, so maybe there could be two versions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions