Home / File/ benchmark.js — react Source File

benchmark.js — react Source File

Architecture documentation for benchmark.js, a javascript file in the react codebase.

Entity Profile

Relationship Graph

Source Code

(function () {
  'use strict';

  class ReactImage0 extends React.Component {
    render() {
      if (this.props.x === 0) {
        return React.createElement('i', {
          alt: '',
          className: '_3-99 img sp_i534r85sjIn sx_538591',
          src: null,
        });
      }
      if (this.props.x === 15) {
        return React.createElement('i', {
          className: '_3ut_ img sp_i534r85sjIn sx_e8ac93',
          src: null,
          alt: '',
        });
      }
      if (this.props.x === 22) {
        return React.createElement('i', {
          alt: '',
          className: '_3-8_ img sp_i534r85sjIn sx_7b15bc',
          src: null,
        });
      }
      if (this.props.x === 29) {
        return React.createElement('i', {
          className: '_1m1s _4540 _p img sp_i534r85sjIn sx_f40b1c',
          src: null,
          alt: '',
        });
      }
      if (this.props.x === 42) {
        return React.createElement(
          'i',
          {
            alt: 'Warning',
            className: '_585p img sp_i534r85sjIn sx_20273d',
            src: null,
          },
          React.createElement('u', null, 'Warning')
        );
      }
      if (this.props.x === 67) {
        return React.createElement('i', {
          alt: '',
          className: '_3-8_ img sp_i534r85sjIn sx_b5d079',
          src: null,
        });
      }
      if (this.props.x === 70) {
        return React.createElement('i', {
          src: null,
          alt: '',
          className: 'img sp_i534r85sjIn sx_29f8c9',
        });
      }
      if (this.props.x === 76) {
        return React.createElement('i', {
// ... (5526 more lines)

Domain

Subdomains

Classes

Frequently Asked Questions

What does benchmark.js do?
benchmark.js is a source file in the react codebase, written in javascript. It belongs to the BabelCompiler domain, Optimization subdomain.
Where is benchmark.js in the architecture?
benchmark.js is located at scripts/bench/benchmarks/pe-class-components/benchmark.js (domain: BabelCompiler, subdomain: Optimization, directory: scripts/bench/benchmarks/pe-class-components).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free