Mitchell Hentges 6f3b8d0962 Defer schema validation to improve test performance
Many modules export an `ajvCompiledJsonSchemaValidator(...)`, which
incurs the `ajv` schema compilation at module-import-time.
Many tests depend on these modules transitively, but don't exercise the
compiled schema - so, this compilation time is wasted.

On my machine, with an example test (airbrake/src/index.test.ts) I'm
seeing the following numbers (n=10):

Before: 6005.1ms
After: 5807.8ms
Benefit: 197.3ms (~3.3%)

Weirdly, the NodeJS profiler was saying that schema compilation was
taking ~2000ms, but that is likely due to the inaccuracy of the
sampling.

Signed-off-by: Mitchell Hentges <mhentges@spotify.com>
2022-09-21 17:00:11 +02:00
2022-08-31 15:31:47 +00:00
2022-08-31 16:27:32 +02:00
2022-08-31 15:31:47 +00:00
2022-09-16 16:51:30 -06:00
2022-07-15 10:24:37 -04:00
2022-02-22 15:45:36 +05:30
2022-09-21 10:11:07 +02:00
2022-08-10 14:42:49 -07:00
2022-08-18 14:00:36 +02:00
2022-04-27 18:44:55 +02:00
2022-01-18 10:11:27 +01:00

headline

Backstage

License CNCF Status Main CI Build Discord Code style Codecov

What is Backstage?

Backstage is an open platform for building developer portals. Powered by a centralized software catalog, Backstage restores order to your microservices and infrastructure and enables your product teams to ship high-quality code quickly — without compromising autonomy.

Backstage unifies all your infrastructure tooling, services, and documentation to create a streamlined development environment from end to end.

software-catalog

Out of the box, Backstage includes:

  • Backstage Software Catalog for managing all your software (microservices, libraries, data pipelines, websites, ML models, etc.)
  • Backstage Software Templates for quickly spinning up new projects and standardizing your tooling with your organizations best practices
  • Backstage TechDocs for making it easy to create, maintain, find, and use technical documentation, using a "docs like code" approach
  • Plus, a growing ecosystem of open source plugins that further expand Backstages customizability and functionality

Backstage was created by Spotify but is now hosted by the Cloud Native Computing Foundation (CNCF) as an Incubation level project. Read the announcement here.

Project roadmap

A detailed project roadmap, including already delivered milestones, is available here.

Getting Started

Check out the documentation on how to start using Backstage.

Documentation

Community

License

Copyright 2020-2022 © The Backstage Authors. All rights reserved. The Linux Foundation has registered trademarks and uses trademarks. For a list of trademarks of The Linux Foundation, please see our Trademark Usage page: https://www.linuxfoundation.org/trademark-usage

Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0

Security

Please report sensitive security issues via Spotify's bug-bounty program rather than GitHub.

For further details please see our complete security release process.

S
Description
Copy of backstage/backstage from Spotify Backstage
Readme Apache-2.0 1.3 GiB
Languages
TypeScript 93.9%
MDX 2%
JavaScript 2%
CSS 1.5%
Handlebars 0.3%