├── .gitignore ├── run.sh ├── README.md └── RadixUIAdoptionSection.jsx /.gitignore: -------------------------------------------------------------------------------- 1 | cal.com/ 2 | -------------------------------------------------------------------------------- /run.sh: -------------------------------------------------------------------------------- 1 | git clone --depth=1 --branch v3.7.11 git@github.com:calcom/cal.com.git 2 | 3 | find ./cal.com/apps -iname '*.ts' -exec cat > cal.com.ts {} + 4 | find ./cal.com/apps -iname '*.tsx' -exec cat > cal.com.tsx {} + 5 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Benchmark Files 2 | 3 | Clone [cal.com](https://github.com/calcom/cal.com) and concat all `.ts` and `.tsx` file into `cal.com.ts` and `cal.com.tsx`. 4 | 5 | Used in parser benchmarks for Oxc. 6 | 7 | ```sh 8 | ./run.sh 9 | ``` 10 | 11 | ``` 12 | cal.com.ts: 1.4M 13 | cal.com.tsx: 1.0M 14 | ``` 15 | 16 | --- 17 | 18 | RadixUIAdoptionSection.jsx: https://github.com/radix-ui/website/blob/6cf13bab6e56e8814f8e5cac156587c0fefe994d/components/marketing/AdoptionSection.tsx 19 | -------------------------------------------------------------------------------- /RadixUIAdoptionSection.jsx: -------------------------------------------------------------------------------- 1 | import React from 'react'; 2 | import NextLink from 'next/link'; 3 | import { Box, Button, Container, Grid, Heading, Section, Text } from '@radix-ui/themes'; 4 | import { MarketingCaption } from './MarketingCaption'; 5 | 6 | export const AdoptionSection = () => { 7 | return ( 8 |
9 | 10 | 11 | Transition to Radix Primitives 12 | 13 | Adoption made easy 14 | 15 | 16 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | Incremental adoption 38 | 39 | 40 | Each component is its own independently versioned package, so new components can be 41 | added alongside your existing code. No need to disrupt feature work with a huge 42 | rewrite{'\u2060'}—you can start small and add more components one by one. 43 | 44 | 45 | 46 | 47 | 48 | Detailed docs and TypeScript support 49 | 50 | 51 | Radix documentation contains real-world examples, extensive API references, 52 | accessibility details, and full TypeScript support. All components share a similar 53 | API, creating a consistent developer experience. You will love working with Radix 54 | Primitives. 55 | 56 | 57 | 58 | 59 |
60 | ); 61 | }; 62 | --------------------------------------------------------------------------------