CARVIEW |
Select Language
HTTP/2 200
date: Sun, 27 Jul 2025 14:58:28 GMT
content-type: text/html; charset=utf-8
vary: X-PJAX, X-PJAX-Container, Turbo-Visit, Turbo-Frame, X-Requested-With,Accept-Encoding, Accept, X-Requested-With
x-repository-download: git clone https://github.com/dotnet/android.git
etag: W/"fa05d0fab74f882f91a54f390cf0448c"
cache-control: max-age=0, private, must-revalidate
strict-transport-security: max-age=31536000; includeSubdomains; preload
x-frame-options: deny
x-content-type-options: nosniff
x-xss-protection: 0
referrer-policy: no-referrer-when-downgrade
content-security-policy: default-src 'none'; base-uri 'self'; child-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/; connect-src 'self' uploads.github.com www.githubstatus.com collector.github.com raw.githubusercontent.com api.github.com github-cloud.s3.amazonaws.com github-production-repository-file-5c1aeb.s3.amazonaws.com github-production-upload-manifest-file-7fdce7.s3.amazonaws.com github-production-user-asset-6210df.s3.amazonaws.com *.rel.tunnels.api.visualstudio.com wss://*.rel.tunnels.api.visualstudio.com objects-origin.githubusercontent.com copilot-proxy.githubusercontent.com proxy.individual.githubcopilot.com proxy.business.githubcopilot.com proxy.enterprise.githubcopilot.com *.actions.githubusercontent.com wss://*.actions.githubusercontent.com productionresultssa0.blob.core.windows.net/ productionresultssa1.blob.core.windows.net/ productionresultssa2.blob.core.windows.net/ productionresultssa3.blob.core.windows.net/ productionresultssa4.blob.core.windows.net/ productionresultssa5.blob.core.windows.net/ productionresultssa6.blob.core.windows.net/ productionresultssa7.blob.core.windows.net/ productionresultssa8.blob.core.windows.net/ productionresultssa9.blob.core.windows.net/ productionresultssa10.blob.core.windows.net/ productionresultssa11.blob.core.windows.net/ productionresultssa12.blob.core.windows.net/ productionresultssa13.blob.core.windows.net/ productionresultssa14.blob.core.windows.net/ productionresultssa15.blob.core.windows.net/ productionresultssa16.blob.core.windows.net/ productionresultssa17.blob.core.windows.net/ productionresultssa18.blob.core.windows.net/ productionresultssa19.blob.core.windows.net/ github-production-repository-image-32fea6.s3.amazonaws.com github-production-release-asset-2e65be.s3.amazonaws.com insights.github.com wss://alive.github.com api.githubcopilot.com api.individual.githubcopilot.com api.business.githubcopilot.com api.enterprise.githubcopilot.com; font-src github.githubassets.com; form-action 'self' github.com gist.github.com copilot-workspace.githubnext.com objects-origin.githubusercontent.com; frame-ancestors 'none'; frame-src viewscreen.githubusercontent.com notebooks.githubusercontent.com; img-src 'self' data: blob: github.githubassets.com media.githubusercontent.com camo.githubusercontent.com identicons.github.com avatars.githubusercontent.com private-avatars.githubusercontent.com github-cloud.s3.amazonaws.com objects.githubusercontent.com release-assets.githubusercontent.com secured-user-images.githubusercontent.com/ user-images.githubusercontent.com/ private-user-images.githubusercontent.com opengraph.githubassets.com copilotprodattachments.blob.core.windows.net/github-production-copilot-attachments/ github-production-user-asset-6210df.s3.amazonaws.com customer-stories-feed.github.com spotlights-feed.github.com objects-origin.githubusercontent.com *.githubusercontent.com; manifest-src 'self'; media-src github.com user-images.githubusercontent.com/ secured-user-images.githubusercontent.com/ private-user-images.githubusercontent.com github-production-user-asset-6210df.s3.amazonaws.com gist.github.com; script-src github.githubassets.com; style-src 'unsafe-inline' github.githubassets.com; upgrade-insecure-requests; worker-src github.githubassets.com github.com/assets-cdn/worker/ github.com/assets/ gist.github.com/assets-cdn/worker/
server: github.com
content-encoding: gzip
accept-ranges: bytes
set-cookie: _gh_sess=cWXoX6HQLpTPEL7LKxJAcG%2BYjaJgjt2pliYUEdgxlEbncE4b13BU1ZrZ4Dlk6pn89bg0BsuPORyN1kcL7WIRoZHh%2BugRqWX7WhNRE0iZ3%2BdS7Kx7a6xRrakuMrNcHSR7gjuAa1vO8DDCtVTp6LQSeVK0AXCXuAKTVohY9yXnQ2I8GE2M%2BU7DuFPodxgKqxHQTEyL7y3fBUuiThZCsfeExZiX%2BJFCoCuYqLm4SuZB5sn80aTn235CMSrMXW8BUjvjcc%2FEHgGldehImwu5y7v3SA%3D%3D--PxPZqCJeUyOyoEqe--GcGbpPuG7yIBRxAlVFqhbw%3D%3D; Path=/; HttpOnly; Secure; SameSite=Lax
set-cookie: _octo=GH1.1.1425658705.1753628307; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 14:58:27 GMT; Secure; SameSite=Lax
set-cookie: logged_in=no; Path=/; Domain=github.com; Expires=Mon, 27 Jul 2026 14:58:27 GMT; HttpOnly; Secure; SameSite=Lax
x-github-request-id: 8374:1C79A4:F49F69:1413563:68863E93
[Xamarin.Android.Build.Tasks] SRM in <GetAdditionalResourcesFromAssem… · dotnet/android@afba30b · GitHub
Copy file name to clipboardExpand all lines: src/Xamarin.Android.Build.Tasks/Tasks/GetAdditionalResourcesFromAssemblies.cs
Skip to content
Navigation Menu
{{ message }}
-
Notifications
You must be signed in to change notification settings - Fork 555
Commit afba30b
[Xamarin.Android.Build.Tasks] SRM in <GetAdditionalResourcesFromAssemblies/> (#2624)
Just like in c22475d, we can use System.Reflection.Metadata in places
instead of Mono.Cecil for performance benefits.
One such case is the `<GetAdditionalResourcesFromAssemblies/>`
MSBuild task, which only looks at custom attributes in assemblies:
Before
1st: 98 ms GetAdditionalResourcesFromAssemblies 1 calls
Incremental: 105 ms GetAdditionalResourcesFromAssemblies 1 calls
After
1st: 54 ms GetAdditionalResourcesFromAssemblies 1 calls
Incremental: 53 ms GetAdditionalResourcesFromAssemblies 1 calls
This was a straightforward port to SRM, which seems to save ~50ms on
every build.1 parent b055395 commit afba30bCopy full SHA for afba30b
File tree
Expand file treeCollapse file tree
1 file changed
+58
-65
lines changedFilter options
- src/Xamarin.Android.Build.Tasks/Tasks
Expand file treeCollapse file tree
1 file changed
+58
-65
lines changedsrc/Xamarin.Android.Build.Tasks/Tasks/GetAdditionalResourcesFromAssemblies.cs
Copy file name to clipboardExpand all lines: src/Xamarin.Android.Build.Tasks/Tasks/GetAdditionalResourcesFromAssemblies.cs+58-65Lines changed: 58 additions & 65 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
1 | 2 |
| |
2 | 3 |
| |
3 |
| - | |
4 | 4 |
| |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 |
| |
6 | 11 |
| |
7 |
| - | |
8 |
| - | |
9 |
| - | |
10 |
| - | |
11 | 12 |
| |
12 |
| - | |
13 |
| - | |
14 |
| - | |
15 | 13 |
| |
16 |
| - | |
17 |
| - | |
18 |
| - | |
19 | 14 |
| |
20 |
| - | |
| 15 | + | |
| 16 | + | |
21 | 17 |
| |
22 | 18 |
| |
23 | 19 |
| |
| |||
85 | 81 |
| |
86 | 82 |
| |
87 | 83 |
| |
88 |
| - | |
| 84 | + | |
89 | 85 |
| |
90 |
| - | |
| 86 | + | |
91 | 87 |
| |
92 |
| - | |
| 88 | + | |
93 | 89 |
| |
94 |
| - | |
| 90 | + | |
95 | 91 |
| |
96 | 92 |
| |
97 | 93 |
| |
98 |
| - | |
| 94 | + | |
99 | 95 |
| |
100 |
| - | |
| 96 | + | |
101 | 97 |
| |
102 | 98 |
| |
103 | 99 |
| |
104 | 100 |
| |
105 | 101 |
| |
106 | 102 |
| |
107 |
| - | |
108 |
| - | |
| 103 | + | |
| 104 | + | |
109 | 105 |
| |
110 |
| - | |
111 |
| - | |
| 106 | + | |
| 107 | + | |
112 | 108 |
| |
113 | 109 |
| |
114 | 110 |
| |
115 |
| - | |
| 111 | + | |
116 | 112 |
| |
117 | 113 |
| |
118 |
| - | |
| 114 | + | |
119 | 115 |
| |
120 | 116 |
| |
121 | 117 |
| |
122 | 118 |
| |
123 |
| - | |
124 |
| - | |
125 |
| - | |
126 |
| - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
127 | 123 |
| |
128 | 124 |
| |
129 | 125 |
| |
| |||
144 | 140 |
| |
145 | 141 |
| |
146 | 142 |
| |
147 |
| - | |
| 143 | + | |
148 | 144 |
| |
149 |
| - | |
150 |
| - | |
| 145 | + | |
| 146 | + | |
151 | 147 |
| |
152 | 148 |
| |
153 | 149 |
| |
| |||
157 | 153 |
| |
158 | 154 |
| |
159 | 155 |
| |
160 |
| - | |
| 156 | + | |
161 | 157 |
| |
162 | 158 |
| |
163 | 159 |
| |
| |||
382 | 378 |
| |
383 | 379 |
| |
384 | 380 |
| |
385 |
| - | |
386 |
| - | |
387 |
| - | |
388 |
| - | |
389 |
| - | |
390 |
| - | |
391 | 381 |
| |
392 | 382 |
| |
393 | 383 |
| |
| |||
411 | 401 |
| |
412 | 402 |
| |
413 | 403 |
| |
414 |
| - | |
415 |
| - | |
416 |
| - | |
417 |
| - | |
418 |
| - | |
419 |
| - | |
420 |
| - | |
421 |
| - | |
422 |
| - | |
423 |
| - | |
424 |
| - | |
425 |
| - | |
426 |
| - | |
427 |
| - | |
428 |
| - | |
429 |
| - | |
| 404 | + | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
| 408 | + | |
| 409 | + | |
| 410 | + | |
| 411 | + | |
| 412 | + | |
| 413 | + | |
| 414 | + | |
| 415 | + | |
| 416 | + | |
| 417 | + | |
| 418 | + | |
| 419 | + | |
| 420 | + | |
430 | 421 |
| |
431 | 422 |
| |
432 |
| - | |
433 |
| - | |
434 |
| - | |
435 |
| - | |
436 |
| - | |
437 |
| - | |
438 |
| - | |
439 |
| - | |
440 |
| - | |
441 |
| - | |
442 |
| - | |
| 423 | + | |
| 424 | + | |
| 425 | + | |
| 426 | + | |
| 427 | + | |
| 428 | + | |
| 429 | + | |
| 430 | + | |
| 431 | + | |
| 432 | + | |
| 433 | + | |
| 434 | + | |
| 435 | + | |
443 | 436 |
| |
444 | 437 |
| |
445 | 438 |
| |
|
You can’t perform that action at this time.
0 commit comments