1
0
Fork 0
freesewing/markdown/dev/reference/plugins/timing/en.md
joostdecock d0447c0f77 breaking: New annotation plugin replaces others
This wraps up the initial work on a new annotations plugin that replaces
other plugins that provide annotations. As a result, the following
plugins are now no longer available:

- plugin-banner
- plugin-bartack
- plugin-buttons
- plugin-cutonfold
- plugin-dimension
- plugin-grainine
- plugin-logo
- plugin-notches
- plugin-scalebox
- plugin-title

The new plugin-annotations package provides all these plugins used to
provide. In addition, it also includes the following new macros:

- bannerbox
- pleat
- sewTogether
2023-04-15 15:14:56 +02:00

1.1 KiB

title
plugin-timing

Published as @freesewing/plugin-timing, this plugin measures detailed timing information while drafting a design and keeps it in the pattern store.

It is intended to be used for developers trying to indicate which parts of their code are slow, or in general provide insights into the speed at which a design can be drafted.

Installation

npm install @freesewing/plugin-timing

Usage

Either add it as a part plugins in your design, or add it to a pattern instance with Pattern.use().

To import the plugin for use:

import { timingPlugin } from '@freesewing/plugin-mirror'
// or
import { pluginTiming } from '@freesewing/plugin-mirror'
Provide in-depth example

This is currently not used, but that will change once v3 gets closer to release. At that point, we should provide an in-depth example here.

Notes

The mirror plugin is part of our plugin-bundle