Skip to content

Commit

Permalink
[docs] Avoid confusion
Browse files Browse the repository at this point in the history
  • Loading branch information
oliviertassinari committed Nov 22, 2020
1 parent 80c7951 commit 12ea597
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions docs/src/pages/system/basics/basics.md
Original file line number Diff line number Diff line change
Expand Up @@ -175,12 +175,12 @@ Cons:

- The runtime performance takes a hit.

| Benchmark case | Code snippet | Time normalized |
| :-------------------------------- | :------------------- | --------------- |
| a. Render 1,000 primitives | `<div className="">` | 100ms |
| b. Render 1,000 components | `<Div>` | 110ms |
| c. Render 1,000 styled components | `<StyledDiv>` | 160ms |
| d. Render 1,000 Box | `<Box sx={}>` | 270ms |
| Benchmark case | Code snippet | Time normalized |
| :-------------------------------- | :-------------------- | --------------- |
| a. Render 1,000 primitives | `<div className="">` | 100ms |
| b. Render 1,000 components | `<Div>` | 110ms |
| c. Render 1,000 styled components | `<StyledDiv>` | 160ms |
| d. Render 1,000 Box | `<Box sx={}>` | 270ms |

_Head to the [benchmark folder](https://github.com/mui-org/material-ui/tree/next/benchmark/browser) for a reproduction of these metrics._

Expand Down

0 comments on commit 12ea597

Please sign in to comment.