Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: create traces from externallyConnectedPorts in <chip /> #554

Merged
merged 7 commits into from
Jan 26, 2025

Conversation

kom-senapati
Copy link
Contributor

/claim #548
Closes #548

Copy link

vercel bot commented Jan 25, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
tscircuit-core-benchmarks ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 26, 2025 4:21am

@tscircuitbot
Copy link
Contributor

Size Report

Bundle Size

  • Base branch size: 696K
  • PR branch size: 708K
  • Difference: +12

Install Size

  • Base branch size: 9.83mb
  • PR branch size: 9.88mb
  • Difference: +.05

Full Howfat Output (PR Branch)

@tscircuit/[email protected] (21 deps, 9.88mb, 1055 files, ©undefined)
╭─────────────────────────────────────────┬──────────────┬───────────┬───────┬───────────┬──────────────┬───────────╮
│ Name                                    │ Dependencies │      Size │ Files │ Native    │ License      │ Deprec    │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @lume/[email protected]                        │              │   121.6kb │    31 │           │ BSD-3-Clause │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]           │            2 │ 1010.98kb │    73 │           │ ISC          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]   │              │  270.18kb │    15 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]             │              │   28.63kb │    31 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]                │              │  754.55kb │    75 │           │ ISC          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]   │            3 │  806.89kb │    92 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]             │            1 │  329.98kb │    31 │           │ ISC          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected] │            1 │   54.54kb │    27 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                    │            2 │    1.35mb │    68 │           │ ISC          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                    │              │    4.61kb │     6 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                            │              │   10.69kb │    11 │           │ MIT          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                   │              │   11.08kb │    17 │           │ MIT          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                 │            1 │    1.48mb │    28 │           │ MIT          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]               │              │    1.14mb │   172 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]            │              │  430.45kb │    56 │           │ MIT          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                              │              │  677.75kb │    52 │           │ MIT          │           │
╰─────────────────────────────────────────┴──────────────┴───────────┴───────┴───────────┴──────────────┴───────────╯

(aside)

Copy link
Contributor

@seveibar seveibar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice attempt

  • Traces need to be created in an earlier render phase, as early as possible (see Renderable.ts for the render phase order)
  • Make sure to test with a pcb snapshot and a schematic snapshot

@tscircuitbot
Copy link
Contributor

Size Report

Bundle Size

  • Base branch size: 708K
  • PR branch size: 708K
  • Difference: 0

Install Size

  • Base branch size: 9.87mb
  • PR branch size: 9.9mb
  • Difference: +.03

Full Howfat Output (PR Branch)

@tscircuit/[email protected] (21 deps, 9.9mb, 1059 files, ©undefined)
╭─────────────────────────────────────────┬──────────────┬───────────┬───────┬───────────┬──────────────┬───────────╮
│ Name                                    │ Dependencies │      Size │ Files │ Native    │ License      │ Deprec    │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @lume/[email protected]                        │              │   121.6kb │    31 │           │ BSD-3-Clause │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]           │            2 │ 1010.98kb │    73 │           │ ISC          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]   │              │  270.18kb │    15 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]             │              │   28.63kb │    31 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]                │              │  754.55kb │    75 │           │ ISC          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]   │            3 │  806.89kb │    92 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]             │            1 │  329.98kb │    31 │           │ ISC          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected] │            1 │   54.54kb │    27 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                    │            2 │    1.35mb │    68 │           │ ISC          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                    │              │    4.61kb │     6 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                            │              │   10.69kb │    11 │           │ MIT          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                   │              │   11.08kb │    17 │           │ MIT          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                 │            1 │    1.48mb │    28 │           │ MIT          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]               │              │    1.14mb │   172 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]            │              │  430.45kb │    56 │           │ MIT          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                              │              │  677.75kb │    52 │           │ MIT          │           │
╰─────────────────────────────────────────┴──────────────┴───────────┴───────┴───────────┴──────────────┴───────────╯

(aside)

@tscircuitbot
Copy link
Contributor

Size Report

Bundle Size

  • Base branch size: 708K
  • PR branch size: 708K
  • Difference: 0

Install Size

  • Base branch size: 9.87mb
  • PR branch size: 9.9mb
  • Difference: +.03

Full Howfat Output (PR Branch)

@tscircuit/[email protected] (21 deps, 9.9mb, 1059 files, ©undefined)
╭─────────────────────────────────────────┬──────────────┬───────────┬───────┬───────────┬──────────────┬───────────╮
│ Name                                    │ Dependencies │      Size │ Files │ Native    │ License      │ Deprec    │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @lume/[email protected]                        │              │   121.6kb │    31 │           │ BSD-3-Clause │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]           │            2 │ 1010.98kb │    73 │           │ ISC          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]   │              │  270.18kb │    15 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]             │              │   28.63kb │    31 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]                │              │  754.55kb │    75 │           │ ISC          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]   │            3 │  806.89kb │    92 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]             │            1 │  329.98kb │    31 │           │ ISC          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected] │            1 │   54.54kb │    27 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                    │            2 │    1.35mb │    68 │           │ ISC          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                    │              │    4.61kb │     6 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                            │              │   10.69kb │    11 │           │ MIT          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                   │              │   11.08kb │    17 │           │ MIT          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                 │            1 │    1.48mb │    28 │           │ MIT          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]               │              │    1.14mb │   172 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]            │              │  430.45kb │    56 │           │ MIT          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                              │              │  677.75kb │    52 │           │ MIT          │           │
╰─────────────────────────────────────────┴──────────────┴───────────┴───────┴───────────┴──────────────┴───────────╯

(aside)

@tscircuitbot
Copy link
Contributor

Size Report

Bundle Size

  • Base branch size: 708K
  • PR branch size: 708K
  • Difference: 0

Install Size

  • Base branch size: 9.87mb
  • PR branch size: 9.9mb
  • Difference: +.03

Full Howfat Output (PR Branch)

@tscircuit/[email protected] (21 deps, 9.9mb, 1059 files, ©undefined)
╭─────────────────────────────────────────┬──────────────┬───────────┬───────┬───────────┬──────────────┬───────────╮
│ Name                                    │ Dependencies │      Size │ Files │ Native    │ License      │ Deprec    │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @lume/[email protected]                        │              │   121.6kb │    31 │           │ BSD-3-Clause │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]           │            2 │ 1010.98kb │    73 │           │ ISC          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]   │              │  270.18kb │    15 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]             │              │   28.63kb │    31 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]                │              │  754.55kb │    75 │           │ ISC          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]   │            3 │  806.89kb │    92 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ @tscircuit/[email protected]             │            1 │  329.98kb │    31 │           │ ISC          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected] │            1 │   54.54kb │    27 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                    │            2 │    1.35mb │    68 │           │ ISC          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                    │              │    4.61kb │     6 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                            │              │   10.69kb │    11 │           │ MIT          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                   │              │   11.08kb │    17 │           │ MIT          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                 │            1 │    1.48mb │    28 │           │ MIT          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]               │              │    1.14mb │   172 │           │              │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]            │              │  430.45kb │    56 │           │ MIT          │           │
├─────────────────────────────────────────┼──────────────┼───────────┼───────┼───────────┼──────────────┼───────────┤
│ [email protected]                              │              │  677.75kb │    52 │           │ MIT          │           │
╰─────────────────────────────────────────┴──────────────┴───────────┴───────┴───────────┴──────────────┴───────────╯

(aside)

@kom-senapati
Copy link
Contributor Author

@seveibar check now

Copy link
Contributor

@seveibar seveibar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice work

@seveibar
Copy link
Contributor

merge conflict to resolve

@kom-senapati
Copy link
Contributor Author

Done @seveibar

@seveibar seveibar merged commit f24645b into tscircuit:main Jan 26, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Implement externallyConnectedPorts for <chip />
3 participants