Skip to content

Commit 10fa0d0

Browse files
authored
Merge branch 'main' into gz-cleanups
2 parents 52b1d06 + da1ad17 commit 10fa0d0

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1235
-613
lines changed

.vscode/settings.json

Lines changed: 0 additions & 9 deletions
This file was deleted.

eslint.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ export default [
1717
ignores: [
1818
'src/profile-logic/import/proto/**',
1919
'src/types/libdef/npm/**',
20+
'res/**',
21+
'dist/**',
2022
'docs-user/**',
2123
'coverage/**',
2224
],

locales/de/app.ftl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ ServiceWorkerManager--hide-notice-button =
710710
StackSettings--implementation-all-frames = Alle Frames
711711
.title = Die Stack-Frames nicht filtern
712712
StackSettings--implementation-script = Skript
713-
.title = Nur die Stapelrahmen anzeigen, die mit der Skriptausführung zusammenhängen.
713+
.title = Nur Stack-Frames anzeigen, die mit Skriptausführung zusammenhängen.
714714
StackSettings--implementation-native2 = Native
715715
.title = Nur die Stack-Frames für nativen Quelltext anzeigen
716716
# This label is displayed in the marker chart and marker table panels only.

locales/tr/app.ftl

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,12 +131,22 @@ CallTreeSidebar--traced-running-time =
131131
.label = İzlenen çalışma süresi
132132
CallTreeSidebar--running-time =
133133
.label = Çalışma süresi
134+
CallTreeSidebar--self-time =
135+
.label = Kendi süresi
134136
CallTreeSidebar--running-samples =
135137
.label = Çalışan örnekler
138+
CallTreeSidebar--self-samples =
139+
.label = Kendi örnekleri
136140
CallTreeSidebar--running-size =
137141
.label = Çalışma boyutu
142+
CallTreeSidebar--self-size =
143+
.label = Kendi boyutu
138144
CallTreeSidebar--categories = Kategoriler
139145
CallTreeSidebar--implementation = Yürütme
146+
CallTreeSidebar--running-milliseconds = Çalışma milisaniyesi
147+
CallTreeSidebar--self-milliseconds = Kendi milisaniyesi
148+
CallTreeSidebar--self-sample-count = Kendi örnek sayısı
149+
CallTreeSidebar--self-bytes = Kendi baytı
140150
141151
## CompareHome
142152
## This is used in the page to compare two profiles.
@@ -152,6 +162,15 @@ CompareHome--form-label-profile2 = Profil 2:
152162
CompareHome--submit-button =
153163
.value = Profilleri getir
154164
165+
## DebugWarning
166+
## This is displayed at the top of the analysis page when the loaded profile is
167+
## a debug build of Firefox.
168+
169+
DebugWarning--warning-message =
170+
.message =
171+
Bu profil, sürüm optimizasyonları yapılmamış bir derlemede kaydedildi.
172+
Performans gözlemleri sürüm popülasyonu için geçerli olmayabilir.
173+
155174
## Details
156175
## This is the bottom panel in the analysis UI. They are generic strings to be
157176
## used at the bottom part of the UI.
@@ -205,6 +224,10 @@ Home--load-from-url-submit-button =
205224
.value = Yükle
206225
Home--documentation-button = Dokümantasyon
207226
Home--menu-button = { -profiler-brand-name } menü düğmesini etkinleştir
227+
Home--menu-button-instructions = Performans kaydetmeye başlamak için { -firefox-brand-name }’ta profilleyici menü düğmesini etkinleştirin, ardından profili analiz edin ve profiler.firefox.com ile paylaşın.
228+
Home--profile-firefox-android-instructions =
229+
{ -firefox-android-brand-name }’ta da profilleme yapabilirsiniz. Daha fazla bilgi almak için lütfen bu belgeye bakın:
230+
<a>Doğrudan cihaz üzerinde { -firefox-android-brand-name } profilleme</a>.
208231
# The word WebChannel should not be translated.
209232
# This message can be seen on https://main--perf-html.netlify.app/ in the tooltip
210233
# of the "Enable Firefox Profiler menu button" button.
@@ -221,6 +244,11 @@ Home--additional-content-content = Profil dosyasını buraya <strong>sürükleyi
221244
Home--compare-recordings-info = Ayrıca kayıtları karşılaştırabilirsiniz. <a>Karşılaştırma arayüzünü aç.</a>
222245
Home--your-recent-uploaded-recordings-title = Son yüklediğiniz kayıtlar
223246
Home--install-chrome-extension = Chrome uzantısını yükle
247+
Home--chrome-extension-instructions = Chrome’daki performans profillerini kaydedip { -profiler-brand-name }’da analiz etmek için <a>Chrome { -profiler-brand-name } uzantısını</a> kullanabilirsiniz. Uzantıyı Chrome Web Store'dan yükleyebilirsiniz.
248+
Home--chrome-extension-recording-instructions =
249+
Uzantıyı yükledikten sonra profillemeyi başlatmak ve durdurmak için uzantının
250+
araç çubuğu simgesini veya kısayolları kullanabilirsiniz. İsterseniz
251+
profilleri dışa aktarabilir ve ayrıntılı analiz için buraya yükleyebilirsiniz.
224252
225253
## IdleSearchField
226254
## The component that is used for all the search inputs in the application.
@@ -327,6 +355,8 @@ MenuButtons--index--profile-info-uploaded-label = Yüklenme tarihi:
327355
MenuButtons--index--profile-info-uploaded-actions = Sil
328356
MenuButtons--index--metaInfo-subtitle = Profil Bilgileri
329357
MenuButtons--metaInfo--symbols = Semboller:
358+
MenuButtons--metaInfo--profile-symbolicated = Profil sembolleştirilmiştir
359+
MenuButtons--metaInfo--symbolicate-profile = Profili sembolleştir
330360
MenuButtons--metaInfo--cpu-model = İşlemci modeli:
331361
MenuButtons--metaInfo--cpu-cores = İşlemci çekirdekleri:
332362
MenuButtons--metaInfo--main-memory = Ana bellek:
@@ -424,10 +454,14 @@ MenuButtons--metaOverheadStatistics-max = Maksimum
424454
MenuButtons--metaOverheadStatistics-min = Minimum
425455
MenuButtons--metaOverheadStatistics-statkeys-overhead = Ek yük
426456
.title = Tüm iş parçacıklarını örnekleme süresi.
457+
MenuButtons--metaOverheadStatistics-statkeys-cleaning = Temizleme
458+
.title = Süresi geçmiş verileri temizleme süresi.
427459
MenuButtons--metaOverheadStatistics-statkeys-counter = Sayaç
428460
.title = Tüm sayaçları toplama süresi.
429461
MenuButtons--metaOverheadStatistics-statkeys-interval = Aralık
430462
.title = İki örnek arasındaki gözlenen aralık.
463+
MenuButtons--metaOverheadStatistics-statkeys-lockings = Kilitlemeler
464+
.title = Örneklemeden önce kilidi elde etme süresi.
431465
MenuButtons--metaOverheadStatistics-overhead-duration = Ek yük süreleri:
432466
MenuButtons--metaOverheadStatistics-overhead-percentage = Ek yük yüzdesi:
433467
MenuButtons--metaOverheadStatistics-profiled-duration = Profillenen süre:
@@ -581,6 +615,10 @@ ServiceWorkerManager--hide-notice-button =
581615

582616
StackSettings--implementation-all-frames = Tüm çerçeveler
583617
.title = Yığın çerçevelerini filtreleme
618+
StackSettings--implementation-script = Betik
619+
.title = Yalnızca script çalışmasına ilişkin yığın çerçevelerini göster
620+
StackSettings--implementation-native2 = Yerel
621+
.title = Yalnızca yerel kod için yığın çerçevelerini göster
584622
# This label is displayed in the marker chart and marker table panels only.
585623
StackSettings--stack-implementation-label = Yığın filtresi:
586624
StackSettings--use-data-source-label = Veri kaynağı:

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"build-symbolicator-cli:quiet": "yarn build:clean && cross-env NODE_ENV=production webpack --config src/symbolicator-cli/webpack.config.js",
2424
"lint": "node bin/output-fixing-commands.js run-p lint-js lint-css prettier-run",
2525
"lint-fix": "run-p lint-fix-js lint-fix-css prettier-fix",
26-
"lint-js": "node bin/output-fixing-commands.js eslint *.js bin src --report-unused-disable-directives --cache --cache-strategy content",
26+
"lint-js": "node bin/output-fixing-commands.js eslint . --report-unused-disable-directives --cache --cache-strategy content",
2727
"lint-fix-js": "yarn lint-js --fix",
2828
"lint-css": "node bin/output-fixing-commands.js stylelint \"src/**/*.css\" \"res/**/*.css\"",
2929
"lint-fix-css": "yarn lint-css --fix",
@@ -63,7 +63,7 @@
6363
"@codemirror/lang-rust": "^6.0.2",
6464
"@codemirror/language": "^6.11.3",
6565
"@codemirror/state": "^6.5.2",
66-
"@codemirror/view": "^6.38.1",
66+
"@codemirror/view": "^6.38.2",
6767
"@firefox-devtools/react-contextmenu": "^5.2.3",
6868
"@fluent/bundle": "^0.19.1",
6969
"@fluent/langneg": "^0.7.0",
@@ -78,9 +78,9 @@
7878
"copy-to-clipboard": "^3.3.3",
7979
"core-js": "^3.45.1",
8080
"escape-string-regexp": "^4.0.0",
81-
"gecko-profiler-demangle": "^0.3.3",
81+
"gecko-profiler-demangle": "^0.4.0",
8282
"idb": "^8.0.3",
83-
"iongraph-web": "0.1.4",
83+
"iongraph-web": "0.1.15",
8484
"jszip": "^3.10.1",
8585
"long": "^5.3.2",
8686
"memoize-immutable": "^3.0.0",
@@ -114,15 +114,15 @@
114114
"@babel/preset-env": "^7.28.3",
115115
"@babel/preset-react": "^7.27.1",
116116
"@babel/preset-typescript": "^7.27.1",
117-
"@eslint/js": "^9.34.0",
117+
"@eslint/js": "^9.35.0",
118118
"@testing-library/dom": "^10.4.1",
119119
"@testing-library/jest-dom": "^6.8.0",
120120
"@testing-library/react": "^16.3.0",
121121
"@types/clamp": "^1.0.3",
122122
"@types/common-tags": "^1.8.4",
123123
"@types/jest": "^30.0.0",
124124
"@types/minimist": "^1.2.5",
125-
"@types/node": "^22.18.0",
125+
"@types/node": "^22.18.1",
126126
"@types/query-string": "^6.3.0",
127127
"@types/react": "^18.3.24",
128128
"@types/react-dom": "^18.3.1",
@@ -134,10 +134,10 @@
134134
"@typescript-eslint/parser": "^8.41.0",
135135
"alex": "^11.0.1",
136136
"autoprefixer": "^10.4.21",
137-
"babel-jest": "^30.0.5",
137+
"babel-jest": "^30.1.2",
138138
"babel-loader": "^10.0.0",
139139
"babel-plugin-module-resolver": "^5.0.2",
140-
"browserslist": "^4.25.2",
140+
"browserslist": "^4.25.4",
141141
"caniuse-lite": "^1.0.30001731",
142142
"circular-dependency-plugin": "^5.2.1",
143143
"codecov": "^3.8.3",
@@ -146,25 +146,25 @@
146146
"css-loader": "^7.1.2",
147147
"cssnano": "^7.1.1",
148148
"devtools-license-check": "^0.9.0",
149-
"eslint": "^9.34.0",
149+
"eslint": "^9.35.0",
150150
"eslint-config-prettier": "^10.1.8",
151151
"eslint-import-resolver-alias": "^1.1.2",
152152
"eslint-plugin-import": "^2.32.0",
153153
"eslint-plugin-jest": "^29.0.1",
154154
"eslint-plugin-jest-dom": "^5.5.0",
155155
"eslint-plugin-jest-formatting": "^3.1.0",
156156
"eslint-plugin-react": "^7.37.5",
157-
"eslint-plugin-testing-library": "^7.6.6",
157+
"eslint-plugin-testing-library": "^7.6.8",
158158
"espree": "^10.4.0",
159-
"fake-indexeddb": "^6.1.0",
160-
"fetch-mock": "^12.5.3",
159+
"fake-indexeddb": "^6.2.2",
160+
"fetch-mock": "^12.5.4",
161161
"file-loader": "^6.2.0",
162162
"glob": "^11.0.3",
163163
"globals": "^16.3.0",
164164
"html-webpack-plugin": "^5.6.4",
165165
"husky": "^4.3.8",
166-
"jest": "^30.0.5",
167-
"jest-environment-jsdom": "^30.0.5",
166+
"jest": "^30.1.3",
167+
"jest-environment-jsdom": "^30.1.2",
168168
"jest-extended": "^6.0.0",
169169
"json-loader": "^0.5.7",
170170
"local-web-server": "^5.4.0",
@@ -174,7 +174,7 @@
174174
"open": "^10.2.0",
175175
"patch-package": "^8.0.0",
176176
"postcss": "^8.5.6",
177-
"postcss-loader": "^8.1.1",
177+
"postcss-loader": "^8.2.0",
178178
"postinstall-postinstall": "^2.1.0",
179179
"prettier": "^3.6.2",
180180
"raw-loader": "^4.0.2",

src/actions/receive-profile.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
44
import { oneLine } from 'common-tags';
55
import queryString from 'query-string';
6-
import JSZip from 'jszip';
6+
import type JSZip from 'jszip';
77
import {
88
insertExternalMarkersIntoProfile,
99
insertExternalPowerCountersIntoProfile,
@@ -1045,6 +1045,7 @@ async function _extractZipFromResponse(
10451045
// that comes from this realm.
10461046
const typedBuffer = new Uint8Array(buffer);
10471047
try {
1048+
const JSZip = await import('jszip');
10481049
const zip = await JSZip.loadAsync(typedBuffer);
10491050
// Catch the error if unable to load the zip.
10501051
return zip;
@@ -1235,6 +1236,7 @@ export function retrieveProfileFromFile(
12351236
if (_deduceContentType(file.name, file.type) === 'application/zip') {
12361237
// Open a zip file in the zip file viewer
12371238
const buffer = await fileReader(file).asArrayBuffer();
1239+
const JSZip = await import('jszip');
12381240
const zip = await JSZip.loadAsync(buffer);
12391241
await dispatch(receiveZipFile(zip));
12401242
} else {

src/components/app/BottomBox.css

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,11 @@
7272
}
7373

7474
.bottom-close-button {
75-
background-image: url(firefox-profiler-res/img/svg/close-dark.svg);
75+
background-image: url(../../../res/img/svg/close-dark.svg);
7676
}
7777

7878
.bottom-assembly-button {
79-
background-image: url(firefox-profiler-res/img/svg/asm-icon.svg);
79+
background-image: url(../../../res/img/svg/asm-icon.svg);
8080
}
8181

8282
.codeLoadingOverlay,
@@ -111,8 +111,8 @@
111111
width: 32px;
112112
height: 32px;
113113
flex-shrink: 0;
114-
background: url(firefox-profiler-res/img/spinner.png) center center / 32px
115-
32px no-repeat;
114+
background: url(../../../res/img/spinner.png) center center / 32px 32px
115+
no-repeat;
116116
content: '';
117117
}
118118

@@ -123,8 +123,8 @@
123123
width: 50px;
124124
height: 50px;
125125
flex-shrink: 0;
126-
background: url(firefox-profiler-res/img/svg/error.svg) center center / 32px
127-
32px no-repeat;
126+
background: url(../../../res/img/svg/error.svg) center center / 32px 32px
127+
no-repeat;
128128
content: '';
129129
filter: brightness(70%) drop-shadow(0 1px rgb(255 255 255 / 0.5));
130130
}

src/components/app/Details.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
}
2727

2828
.sidebar-open-close-button-isopen {
29-
background-image: url(firefox-profiler-res/img/svg/pane-collapse.svg);
29+
background-image: url(../../../res/img/svg/pane-collapse.svg);
3030
}
3131

3232
.sidebar-open-close-button-isclosed {
33-
background-image: url(firefox-profiler-res/img/svg/pane-expand.svg);
33+
background-image: url(../../../res/img/svg/pane-expand.svg);
3434
}

src/components/app/Home.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
width: 20px;
146146
height: 20px;
147147
margin: 0 10px -4px 3px;
148-
background: url(firefox-profiler-res/img/svg/help-blue.svg);
148+
background: url(../../../res/img/svg/help-blue.svg);
149149
background-size: 100% 100%;
150150
}
151151

src/components/app/KeyboardShortcut.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@
9595

9696
/* Allow for the photon focus ring to fit in the space by using a 4px margin. */
9797
margin: 4px;
98-
background: url(firefox-profiler-res/img/svg/searchfield-cancel.svg) 10px
99-
center no-repeat;
98+
background: url(../../../res/img/svg/searchfield-cancel.svg) 10px center
99+
no-repeat;
100100
cursor: pointer;
101101
font-size: inherit;
102102
}

0 commit comments

Comments
 (0)