Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
33030ec
Grid WIP
intergalacticspacehighway Nov 14, 2025
ded011f
grid-auto-columns and grid-auto-rows
intergalacticspacehighway Nov 18, 2025
acdc92b
add justify content stretch and more test cases
intergalacticspacehighway Nov 20, 2025
3ad6a75
Add more grid layout tests
intergalacticspacehighway Nov 20, 2025
be8033a
add span syntax support and test
intergalacticspacehighway Nov 21, 2025
8d9dbdb
add resolved grid item area and add more testcases
intergalacticspacehighway Nov 21, 2025
19ca203
fix auto percentage testcase
intergalacticspacehighway Nov 22, 2025
58c1262
use common distribute space for affected sizes
intergalacticspacehighway Nov 22, 2025
18a19ae
refactor distribute space
intergalacticspacehighway Nov 22, 2025
a966611
percentage track initialisation and test
intergalacticspacehighway Nov 23, 2025
31aa583
fix aspect ratio and add more testcases
intergalacticspacehighway Nov 23, 2025
8e0fbbb
absolute child positioning, display none and display contents testcases
intergalacticspacehighway Nov 23, 2025
64ca472
negative space gap taffy test
intergalacticspacehighway Nov 24, 2025
fe9ffe1
fix padding rtl offset and add taffy test
intergalacticspacehighway Nov 24, 2025
c6f5e3c
fix alignment when free space is negative and add fixture
intergalacticspacehighway Nov 24, 2025
d9d1c85
align content space evenly negative space distribution
intergalacticspacehighway Nov 24, 2025
5805562
align items tests
intergalacticspacehighway Nov 24, 2025
0cb3bf1
add more testcases from taffy
intergalacticspacehighway Nov 24, 2025
031e49e
justify content testcases
intergalacticspacehighway Nov 24, 2025
956cc29
margin test cases from taffy
intergalacticspacehighway Nov 24, 2025
0f410f9
minmax auto tests
intergalacticspacehighway Nov 24, 2025
5c7e102
minmax tests
intergalacticspacehighway Nov 24, 2025
e230e89
percentage testcases
intergalacticspacehighway Nov 24, 2025
1274987
placement tests
intergalacticspacehighway Nov 24, 2025
c4fefe6
fix sizing initialisation order
intergalacticspacehighway Nov 25, 2025
b3dcc71
add more tests
intergalacticspacehighway Nov 25, 2025
747d686
Add absolute positioning and aspect ratio tests
intergalacticspacehighway Nov 30, 2025
8fac2ee
fix relative position testcase
intergalacticspacehighway Dec 1, 2025
58464f4
add overflow scrollbars testcases
intergalacticspacehighway Dec 1, 2025
1f22b29
add text wrapping with min/max width testcase
intergalacticspacehighway Dec 2, 2025
b52b003
optmise grid sizing calls for definite sized grid container
intergalacticspacehighway Dec 3, 2025
507e4bc
optimise overlap detection in autoplacement and add fast path for fix…
intergalacticspacehighway Dec 3, 2025
e7dcb29
optimisation: remove getspannedtracks calls
intergalacticspacehighway Dec 3, 2025
52f1b93
reset infinitely growable flag
intergalacticspacehighway Dec 3, 2025
3dd8fe6
improve comments, add missing spec links
intergalacticspacehighway Dec 3, 2025
e3f4d36
CI lint and build fixes
intergalacticspacehighway Dec 3, 2025
2c7d842
add grid support in website
intergalacticspacehighway Dec 4, 2025
09d4346
trigger ci
intergalacticspacehighway Dec 4, 2025
45c5489
set had overflow flag
intergalacticspacehighway Dec 4, 2025
68f0cc7
baseline alignment
intergalacticspacehighway Dec 5, 2025
db8932d
add more tests. max-content parent workaround to generate correct ass…
intergalacticspacehighway Dec 5, 2025
377003c
more taffy tests
intergalacticspacehighway Dec 6, 2025
0c14c42
add more testcases from taffy
intergalacticspacehighway Dec 6, 2025
5db9f64
align items baseline tests
intergalacticspacehighway Dec 6, 2025
a7a26a5
move taffy tests to taffy directory
intergalacticspacehighway Dec 6, 2025
1836c50
move fast path check in individual steps
intergalacticspacehighway Dec 6, 2025
4a19fce
optimisation - precomute grid line offsets
intergalacticspacehighway Dec 6, 2025
88571d4
micro optimisation - avoid grid item area copies
intergalacticspacehighway Dec 6, 2025
2ea4433
tiny performance and re-order functions as per the spec
intergalacticspacehighway Dec 6, 2025
8ca3fd3
CI error - add explicit constructor to grid item area
intergalacticspacehighway Dec 6, 2025
c9840a0
rename grid item area to grid item and optimise findfrsize
intergalacticspacehighway Dec 7, 2025
96d938f
fast path for span 1 items
intergalacticspacehighway Dec 7, 2025
02aa523
performance - early exit for flexible and intrinsic tracks
intergalacticspacehighway Dec 7, 2025
7ceda03
add preliminary benchmark
intergalacticspacehighway Dec 7, 2025
d3d531f
simplify intrinsic measure functions and add spec comments
intergalacticspacehighway Dec 8, 2025
ad21660
optimisation - early continue in accomodateSpanningItemsCrossingFlexi…
intergalacticspacehighway Dec 8, 2025
e83b9c2
optimisation - early return in some track sizing steps
intergalacticspacehighway Dec 8, 2025
3ef0b41
improve aspect ratio handling and add testcases
intergalacticspacehighway Dec 8, 2025
32b7899
more tests
intergalacticspacehighway Dec 8, 2025
df8ee11
optimisation - prevent sorting for single spanned items
intergalacticspacehighway Dec 9, 2025
59115b2
optimisation - add cross dimension change check in contributionsChanged
intergalacticspacehighway Dec 9, 2025
28573da
add comments from spec
intergalacticspacehighway Dec 10, 2025
b796469
fix flexible intrinsic space distribution and optimise item containin…
intergalacticspacehighway Dec 13, 2025
b85c1b9
fix: auto margin should absorb only positive space
intergalacticspacehighway Dec 13, 2025
9d1d1ae
optimise: use row map based occupancy grid
intergalacticspacehighway Dec 13, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 3 additions & 3 deletions benchmark/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@ include(${YOGA_ROOT}/cmake/project-defaults.cmake)

add_subdirectory(${YOGA_ROOT}/yoga ${CMAKE_CURRENT_BINARY_DIR}/yoga)

file(GLOB SOURCES_LEGACY CONFIGURE_DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/*.c)
file(GLOB SOURCES CONFIGURE_DEPENDS
${CMAKE_CURRENT_SOURCE_DIR}/*.cpp)

add_executable(benchmark ${SOURCES})
add_executable(benchmarklegacy ${SOURCES_LEGACY})
add_executable(benchmarklegacy ${CMAKE_CURRENT_SOURCE_DIR}/YGBenchmark.c)
add_executable(benchmarkgrid ${CMAKE_CURRENT_SOURCE_DIR}/YGGridBenchmark.c)

target_link_libraries(benchmark yogacore)
target_link_libraries(benchmarklegacy yogacore)
target_link_libraries(benchmarkgrid yogacore)
target_include_directories(benchmark
PRIVATE
$<BUILD_INTERFACE:${YOGA_ROOT}/lib>)
Loading
Loading