Page MenuHomePhabricator

Please use GitHub pull requests for new patches. Avoid migrating existing patches. Phabricator shutdown timeline

marksantaniello (Mark Santaniello)
User

Projects

User does not belong to any projects.

User Details

User Since
Nov 29 2016, 10:06 AM (366 w, 5 d)

Recent Activity

Jun 28 2023

marksantaniello added inline comments to D153995: [NFC][Sample PGO] Avoid non-const accessor for CallsiteSamples.
Jun 28 2023, 1:00 PM · Restricted Project, Restricted Project

Jun 14 2023

marksantaniello added a comment to D152490: [llvm-profdata] Use StringRef for CallTargetMap.

Another thing worth considering is just to use const char* as the map key. I believe it's safe in this case, and smaller than StringRef which is a pointer and a length.

Jun 14 2023, 12:56 PM · Restricted Project, Restricted Project

Jun 13 2023

marksantaniello added a comment to D152490: [llvm-profdata] Use StringRef for CallTargetMap.

FWIW I also tried SmallDenseMap with various inline sizes. It still seems to be the case that, once you exceed the in-situ space, you immediately grow to 64 entries.

Jun 13 2023, 6:03 AM · Restricted Project, Restricted Project

Jun 8 2023

marksantaniello added a comment to D152490: [llvm-profdata] Use StringRef for CallTargetMap.

Yeah I tested pretty much the same thing, and it was a big memory regression. The problem is that, upon first insert, the DenseMap grows to 64 entries. Even if I use a const char* key, the KV-pair is 16B, so 64 entries is 1K.

Jun 8 2023, 8:04 PM · Restricted Project, Restricted Project

May 25 2023

marksantaniello updated the summary of D151441: Avoid pointless canonicalize when using Dwarf names.
May 25 2023, 6:51 AM · Restricted Project, Restricted Project
marksantaniello requested review of D151441: Avoid pointless canonicalize when using Dwarf names.
May 25 2023, 6:48 AM · Restricted Project, Restricted Project

Jun 14 2017

marksantaniello created D34219: Allow -profile-guided-section-prefix more than once.
Jun 14 2017, 1:13 PM

Dec 3 2016

marksantaniello added a reviewer for D27218: Prefix path when displaying thin archives: davide.
Dec 3 2016, 9:07 AM

Dec 1 2016

marksantaniello added a comment to D27218: Prefix path when displaying thin archives.

@rafael could you please review this, and maybe even commit it? Thanks.

Dec 1 2016, 7:17 AM
marksantaniello updated the diff for D27218: Prefix path when displaying thin archives.

Fix new test (added in D27217) so it covers the new behavior.

Dec 1 2016, 7:05 AM

Nov 30 2016

marksantaniello updated subscribers of D27217: Only computeRelativePath() on new members.

Thanks @davide, looks like I'm all set since @david2050 already did it.

Nov 30 2016, 5:13 PM
marksantaniello updated the diff for D27218: Prefix path when displaying thin archives.

Remove trailing newline.

Nov 30 2016, 8:11 AM
marksantaniello updated the diff for D27217: Only computeRelativePath() on new members.

Previous diff was a mistake. Got the revisions mixed up. Here I add the final newline to the new test.

Nov 30 2016, 8:10 AM
marksantaniello updated the diff for D27217: Only computeRelativePath() on new members.

Remove trailing whitespace

Nov 30 2016, 8:04 AM

Nov 29 2016

marksantaniello updated D27217: Only computeRelativePath() on new members.
Nov 29 2016, 10:48 AM
marksantaniello retitled D27218: Prefix path when displaying thin archives from to Prefix path when displaying thin archives.
Nov 29 2016, 10:46 AM
marksantaniello retitled D27217: Only computeRelativePath() on new members from to Only computeRelativePath() on new members.
Nov 29 2016, 10:33 AM