MARKETPLACE
PLUGINS
STOPWATCH / TIMER
Stopwatch / Timer logo

Stopwatch / Timer

Published June 2018
   •    Updated this month

Plugin details

ATTENTION - this plugin hasn't been edited since mid 2018 and isn't currently being maintained by AirDev.
Time how long actions take in bubble.

Benchmarking tool to optimize your app's performance.

Free

For everyone

3.0 stars   •   3 ratings
27.1K installs
This plugin does not collect or track your personal data.

Other actions

Platform

Web

Contributor details

Airdev logo
Airdev
Joined 2016   •   33 Plugins
View contributor profile

Instructions

WORKFLOW ACTIONS: Start - running this WF action will cause the timer to begin counting, but it doesn't allow the user to access the timer as it is counting.

Lap - Gets current time and saves it to be displayed by the user. Doesn't reset the start time (keeps counting).
A user can apply a specific keyword to a Lap action, too.
If the timer isn't "running" this won't work properly (there is a bug here).

End - Get current time and record the end time, setting the timer's Duration to End time minus Start time.
If you try to end a timer without having started it, this will not do anything.

ELEMENT FIELDS:
Lap Times:
TYPE: List of numbers
DESCRIPTION: Each time the Lap action is run, a new number is added to this list at the time that the action is executed.
This number is the difference between the current time and either
1) the time the Start action was run, or
2) the time the last Lap action was run.
E.g. Start run 7.5 seconds ago, now Lap is run: first value in this list is 7.5. If lap is run again 2 seconds later, the second value in this list will be 2.0.

Lap Names:
TYPE: List of texts
DESCRIPTION: Each time the Lap action is run, a new text is added to this list. The text is defined by the user in the Lap workflow action.
This list can be used to identify which workflow steps are taking longer. The 2nd Lap Name corresponds to the 2nd Lap Time. (and the 1st to the 1st, 4th to the 4th, etc).


Duration:
TYPE: number
DESCRIPTION: The amount of time elapsed between starting a timer and ending a timer.

isRunning:
TYPE: yes/no
DESCRIPTION: Is "yes" if the timer's Start action has been run and Stop has not been run. Is "no" if Start has not yet been run, or if Start has been run and End has been run afterwards.
When isRunning is true. the timer can't be restarted - it can only be restarted after Stop has been run.

For more information, see the following test app:
https://bubble.io/page?type=page&name=timer&id=timer-doc&tab=tabs-1

Types

This plugin can be found under the following types:
Background Services   •   Element   •   Action

Categories

This plugin can be found under the following categories:
Technical   •   Productivity   •   Data (things)   •   Analytics   •   Visual Elements

Resources

Support contact
Tutorial

Rating and reviews

Average rating (3.0)

fdefef
July 15th, 2022
RATING
December 26th, 2021
For Dev
January 13th, 2019
I would like for a way to output current duration as the timer starts if possible?
Bubble