Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pleroma-fe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pleroma
pleroma-fe
Commits
79d2184a
Commit
79d2184a
authored
1 year ago
by
HJ
Browse files
Options
Downloads
Patches
Plain Diff
more performance testing
parent
6df28cde
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!1928
Release 2.7.0
,
!1892
Themes 3.0 / Pleroma ISS (Interface Style Sheets) [Side A]
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/services/theme_data/theme_data_3.service.js
+5
-0
5 additions, 0 deletions
src/services/theme_data/theme_data_3.service.js
with
5 additions
and
0 deletions
src/services/theme_data/theme_data_3.service.js
+
5
−
0
View file @
79d2184a
...
...
@@ -352,6 +352,7 @@ export const init = (extraRuleset, palette) => {
}).
reduce
((
acc
,
x
)
=>
[...
acc
,
...
x
],
[])
stateVariantCombination
.
forEach
(
combination
=>
{
const
tt0
=
performance
.
now
()
const
soloSelector
=
ruleToSelector
({
component
:
component
.
name
,
...
combination
},
true
)
const
selector
=
ruleToSelector
({
component
:
component
.
name
,
...
combination
,
parent
},
true
)
...
...
@@ -507,6 +508,10 @@ export const init = (extraRuleset, palette) => {
}
innerComponents
.
forEach
(
innerComponent
=>
processInnerComponent
(
innerComponent
,
{
parent
,
component
:
name
,
...
combination
}))
const
tt1
=
performance
.
now
()
if
(
!
component
.
virtual
)
{
console
.
log
(
'
State-variant
'
+
combination
.
variant
+
'
:
'
+
combination
.
state
.
join
(
'
+
'
)
+
'
procession time:
'
+
(
tt1
-
tt0
)
+
'
ms
'
)
}
})
const
t1
=
performance
.
now
()
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment