Skip to content

Generate RouterInfoFwd.h forward-declaration headers#481

Open
alikhtarov wants to merge 1 commit intofacebookresearch:v2-betafrom
alikhtarov:export-D94251624-to-v2-beta
Open

Generate RouterInfoFwd.h forward-declaration headers#481
alikhtarov wants to merge 1 commit intofacebookresearch:v2-betafrom
alikhtarov:export-D94251624-to-v2-beta

Conversation

@alikhtarov
Copy link

Summary:
Update the carbon compiler to generate lightweight RouterInfoFwd.h headers
alongside the existing RouterInfo.h for each service.

These only contain forward declaration for the requests/replies, the lists RoutableRequests, RoutableReplies, AllRequests, and a forward declaration of the RouterInfo struct.

This improves build speed as some includes only need the request list, not the whole RouterInfo.

Claude spec P2203329673 plan P2203333653

Reviewed By: stuclar

Differential Revision: D94251624

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Feb 26, 2026
@meta-codesync
Copy link

meta-codesync bot commented Feb 26, 2026

@alikhtarov has exported this pull request. If you are a Meta employee, you can view the originating Diff in D94251624.

alikhtarov pushed a commit to alikhtarov/DCPerf that referenced this pull request Feb 26, 2026
…h#481)

Summary:

Update the carbon compiler to generate lightweight `RouterInfoFwd.h` headers
alongside the existing `RouterInfo.h` for each service.

These only contain forward declaration for the requests/replies, the lists RoutableRequests, RoutableReplies, AllRequests, and a forward declaration of the RouterInfo struct.

This improves build speed as some includes only need the request list, not the whole RouterInfo.

Claude spec P2203329673 plan P2203333653

Reviewed By: stuclar

Differential Revision: D94251624
@alikhtarov alikhtarov force-pushed the export-D94251624-to-v2-beta branch from a0f419c to eb2a48b Compare February 26, 2026 23:06
alikhtarov pushed a commit to alikhtarov/DCPerf that referenced this pull request Feb 26, 2026
…h#481)

Summary:
Pull Request resolved: facebookresearch#481

Update the carbon compiler to generate lightweight `RouterInfoFwd.h` headers
alongside the existing `RouterInfo.h` for each service.

These only contain forward declaration for the requests/replies, the lists RoutableRequests, RoutableReplies, AllRequests, and a forward declaration of the RouterInfo struct.

This improves build speed as some includes only need the request list, not the whole RouterInfo.

Claude spec P2203329673 plan P2203333653

Reviewed By: stuclar

Differential Revision: D94251624
@alikhtarov alikhtarov force-pushed the export-D94251624-to-v2-beta branch from eb2a48b to 478b07c Compare February 26, 2026 23:10
alikhtarov pushed a commit to alikhtarov/DCPerf that referenced this pull request Feb 27, 2026
…h#481)

Summary:

Update the carbon compiler to generate lightweight `RouterInfoFwd.h` headers
alongside the existing `RouterInfo.h` for each service.

These only contain forward declaration for the requests/replies, the lists RoutableRequests, RoutableReplies, AllRequests, and a forward declaration of the RouterInfo struct.

This improves build speed as some includes only need the request list, not the whole RouterInfo.

Claude spec P2203329673 plan P2203333653

Reviewed By: stuclar

Differential Revision: D94251624
@alikhtarov alikhtarov force-pushed the export-D94251624-to-v2-beta branch from 478b07c to 4340d6d Compare February 27, 2026 18:54
alikhtarov pushed a commit to alikhtarov/DCPerf that referenced this pull request Feb 27, 2026
…h#481)

Summary:
Pull Request resolved: facebookresearch#481

Update the carbon compiler to generate lightweight `RouterInfoFwd.h` headers
alongside the existing `RouterInfo.h` for each service.

These only contain forward declaration for the requests/replies, the lists RoutableRequests, RoutableReplies, AllRequests, and a forward declaration of the RouterInfo struct.

This improves build speed as some includes only need the request list, not the whole RouterInfo.

Claude spec P2203329673 plan P2203333653

Reviewed By: stuclar

Differential Revision: D94251624
@alikhtarov alikhtarov force-pushed the export-D94251624-to-v2-beta branch from 4340d6d to 44771dc Compare February 27, 2026 18:57
alikhtarov pushed a commit to alikhtarov/DCPerf that referenced this pull request Feb 27, 2026
…h#481)

Summary:

Update the carbon compiler to generate lightweight `RouterInfoFwd.h` headers
alongside the existing `RouterInfo.h` for each service.

These only contain forward declaration for the requests/replies, the lists RoutableRequests, RoutableReplies, AllRequests, and a forward declaration of the RouterInfo struct.

This improves build speed as some includes only need the request list, not the whole RouterInfo.

Claude spec P2203329673 plan P2203333653

Reviewed By: stuclar

Differential Revision: D94251624
@alikhtarov alikhtarov force-pushed the export-D94251624-to-v2-beta branch from 44771dc to 2cb726f Compare February 27, 2026 22:48
…h#481)

Summary:
Pull Request resolved: facebookresearch#481

Update the carbon compiler to generate lightweight `RouterInfoFwd.h` headers
alongside the existing `RouterInfo.h` for each service.

These only contain forward declaration for the requests/replies, the lists RoutableRequests, RoutableReplies, AllRequests, and a forward declaration of the RouterInfo struct.

This improves build speed as some includes only need the request list, not the whole RouterInfo.

Claude spec P2203329673 plan P2203333653

Reviewed By: stuclar

Differential Revision: D94251624
@alikhtarov alikhtarov force-pushed the export-D94251624-to-v2-beta branch from 2cb726f to 9e1392b Compare February 27, 2026 22:52
meta-codesync bot pushed a commit to facebook/mcrouter that referenced this pull request Mar 2, 2026
Summary:
X-link: facebookresearch/DCPerf#481

Update the carbon compiler to generate lightweight `RouterInfoFwd.h` headers
alongside the existing `RouterInfo.h` for each service.

These only contain forward declaration for the requests/replies, the lists RoutableRequests, RoutableReplies, AllRequests, and a forward declaration of the RouterInfo struct.

This improves build speed as some includes only need the request list, not the whole RouterInfo.

Claude spec P2203329673 plan P2203333653

Reviewed By: stuclar

Differential Revision: D94251624

fbshipit-source-id: c1602709dcf7673488afc2eab395116c9b7a973f
meta-codesync bot pushed a commit that referenced this pull request Mar 2, 2026
Summary:
Pull Request resolved: #481

Update the carbon compiler to generate lightweight `RouterInfoFwd.h` headers
alongside the existing `RouterInfo.h` for each service.

These only contain forward declaration for the requests/replies, the lists RoutableRequests, RoutableReplies, AllRequests, and a forward declaration of the RouterInfo struct.

This improves build speed as some includes only need the request list, not the whole RouterInfo.

Claude spec P2203329673 plan P2203333653

Reviewed By: stuclar

Differential Revision: D94251624

fbshipit-source-id: c1602709dcf7673488afc2eab395116c9b7a973f
meta-codesync bot pushed a commit to facebook/hhvm that referenced this pull request Mar 2, 2026
Summary:
X-link: facebookresearch/DCPerf#481

Update the carbon compiler to generate lightweight `RouterInfoFwd.h` headers
alongside the existing `RouterInfo.h` for each service.

These only contain forward declaration for the requests/replies, the lists RoutableRequests, RoutableReplies, AllRequests, and a forward declaration of the RouterInfo struct.

This improves build speed as some includes only need the request list, not the whole RouterInfo.

Claude spec P2203329673 plan P2203333653

Reviewed By: stuclar

Differential Revision: D94251624

fbshipit-source-id: c1602709dcf7673488afc2eab395116c9b7a973f
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant