Socket
Book a DemoInstallSign in
Socket

@tensile-perf/runner

Package Overview
Dependencies
Maintainers
1
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tensile-perf/runner

The application that runs Tensile tests. This application spins up a server, runs code and collects the results.

latest
npmnpm
Version
0.5.1
Version published
Maintainers
1
Created
Source

@tensile-perf/runner

The application that runs Tensile tests. This application spins up a server, runs code and collects the results.

Usage

Install the package:

# with npm
$ npm install --save-dev @tensile-perf/runner

# or with yarn
$ yarn add -D @tensile-perf/runner

Create a benchmark test file:

// Save in button.bench.js
const itemRenderer = () => {
  const btn = document.createElement('button');
  btn.appendChild(document.createTextNode('Simple HTML Button'));
  
  return btn;
};

export default itemRenderer;
export { tests } from '@tensile-perf/web-components';

Run your test:

$ tensile --file button.bench.js

Review results in the .tensile/ folder

Advanced configuration

TODO

API

Use the CLI for help documentation:

$ tensile help

Building

Run yarn nx run runner:build to build the library.

Trademarks This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft’s Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party’s policies.

FAQs

Package last updated on 07 May 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts