Skip to content

Commit

Permalink
Update Memory Management
Browse files Browse the repository at this point in the history
  • Loading branch information
beachtom committed Jul 18, 2024
1 parent 320e471 commit 240c281
Show file tree
Hide file tree
Showing 7 changed files with 143 additions and 150 deletions.
56 changes: 28 additions & 28 deletions benchmark.md
Original file line number Diff line number Diff line change
@@ -1,33 +1,33 @@
# System informations
{"cpuName":"Apple M1","freeRam":109.578125,"totalRam":8192}
{"cpuName":"Apple M1","freeRam":76.6875,"totalRam":8192}
_________
| filename | Size (mb) | Time to open model (ms) | Time to execute all (ms) | Total ifc entities | Total meshes | Total geometries | total errors |
|-------|-------|-------|-------|-------|-------|-------|-------|
| tests/ifcfiles/public/AC20-FZK-Haus.ifc | 2.45 | 55 | 238 | 44249 | 83 | 103 | undefined |
tests/ifcfiles/public/C20-Institute-Var-2.ifc | 10.43 | 99 | 616 | 147712 | 702 | 821 | undefined |
tests/ifcfiles/public/Element3D.ifc | 2.02 | 15 | 845 | 32875 | 1 | 5 | undefined |
tests/ifcfiles/public/FM_ARC_DigitalHub.ifc | 13.66 | 109 | 1453 | 266483 | 705 | 725 | undefined |
tests/ifcfiles/public/ISSUE_005_haus.ifc | 2.41 | 56 | 256 | 44249 | 83 | 103 | undefined |
tests/ifcfiles/public/ISSUE_021_Mini Project.ifc | 3.2 | 32 | 996 | 49044 | 2636 | 3697 | undefined |
tests/ifcfiles/public/ISSUE_034_HouseZ.ifc | 4.92 | 55 | 300 | 81806 | 228 | 239 | undefined |
tests/ifcfiles/public/ISSUE_044_test_IFCCOMPOSITEPROFILEDEF.ifc | 0.03 | 1 | 1 | 435 | 7 | 11 | undefined |
tests/ifcfiles/public/ISSUE_053_20181220Holter_Tower_10.ifczip | 29.38 | 1475 | 12407 | 2807815 | 60285 | 60847 | undefined |
tests/ifcfiles/public/ISSUE_068_ARK_NUS_skolebygg.ifc | 54.65 | 704 | 4515 | 945194 | 4459 | 4542 | undefined |
tests/ifcfiles/public/ISSUE_102_M3D-CON-CD.ifc | 26.11 | 207 | 3257 | 503608 | 1616 | 1635 | undefined |
tests/ifcfiles/public/ISSUE_102_M3D-CON.ifc | 6.1 | 49 | 274 | 123282 | 138 | 143 | undefined |
tests/ifcfiles/public/ISSUE_126_model.ifc | 4.32 | 35 | 120 | 88876 | 257 | 288 | undefined |
tests/ifcfiles/public/ISSUE_129_N1540_17_EXE_MOD_448200_02_09_11SMC_IGC_V17.ifc | 11.67 | 86 | 730 | 202661 | 959 | 981 | undefined |
tests/ifcfiles/public/ISSUE_159_kleine_Wohnung_R22.ifc | 9.73 | 73 | 851 | 189788 | 425 | 457 | undefined |
tests/ifcfiles/public/ISSUE_171_IfcSurfaceCurveSweptAreaSolid.ifc | 0.24 | 3 | 20 | 4327 | 60 | 141 | undefined |
tests/ifcfiles/public/IfcOpenHouse_IFC4.ifc | 0.11 | 1 | 8 | 2885 | 35 | 43 | undefined |
tests/ifcfiles/public/KIT-Simple-Road-Test-Web-IFC4x3_RC2.ifc | 0.38 | 491 | 155 | 6500 | 66 | 119 | undefined |
tests/ifcfiles/public/Office_A_20110811.ifc | 3.91 | 74 | 237 | 62930 | 803 | 810 | undefined |
tests/ifcfiles/public/S_Office_Integrated Design Archi.ifc | 29.62 | 291 | 5820 | 551442 | 3418 | 3873 | undefined |
tests/ifcfiles/public/Sample_entities.ifc | 0.03 | 0 | 1 | 466 | 2 | 10 | undefined |
tests/ifcfiles/public/advanced_model.ifc | 33.67 | 473 | 2425 | 594374 | 6401 | 14120 | undefined |
tests/ifcfiles/public/dental_clinic.ifc | 12.4 | 94 | 836 | 209259 | 2586 | 2626 | undefined |
tests/ifcfiles/public/duplex.ifc | 2.27 | 18 | 66 | 38898 | 216 | 224 | undefined |
| tests/ifcfiles/public/AC20-FZK-Haus.ifc | 2.45 | 48 | 294 | 44249 | 83 | 103 | undefined |
tests/ifcfiles/public/C20-Institute-Var-2.ifc | 10.43 | 93 | 597 | 147712 | 702 | 821 | undefined |
tests/ifcfiles/public/Element3D.ifc | 2.02 | 16 | 844 | 32875 | 1 | 5 | undefined |
tests/ifcfiles/public/FM_ARC_DigitalHub.ifc | 13.66 | 102 | 1113 | 266483 | 705 | 725 | undefined |
tests/ifcfiles/public/ISSUE_005_haus.ifc | 2.41 | 22 | 156 | 44249 | 83 | 103 | undefined |
tests/ifcfiles/public/ISSUE_021_Mini Project.ifc | 3.2 | 24 | 632 | 49044 | 2636 | 3697 | undefined |
tests/ifcfiles/public/ISSUE_034_HouseZ.ifc | 4.92 | 36 | 189 | 81806 | 228 | 239 | undefined |
tests/ifcfiles/public/ISSUE_044_test_IFCCOMPOSITEPROFILEDEF.ifc | 0.03 | 0 | 0 | 435 | 7 | 11 | undefined |
tests/ifcfiles/public/ISSUE_053_20181220Holter_Tower_10.ifczip | 29.38 | 1452 | 11189 | 2807815 | 60285 | 60847 | undefined |
tests/ifcfiles/public/ISSUE_068_ARK_NUS_skolebygg.ifc | 54.65 | 460 | 4372 | 945194 | 4459 | 4542 | undefined |
tests/ifcfiles/public/ISSUE_102_M3D-CON-CD.ifc | 26.11 | 211 | 3052 | 503608 | 1616 | 1635 | undefined |
tests/ifcfiles/public/ISSUE_102_M3D-CON.ifc | 6.1 | 102 | 300 | 123282 | 138 | 143 | undefined |
tests/ifcfiles/public/ISSUE_126_model.ifc | 4.32 | 35 | 112 | 88876 | 257 | 288 | undefined |
tests/ifcfiles/public/ISSUE_129_N1540_17_EXE_MOD_448200_02_09_11SMC_IGC_V17.ifc | 11.67 | 88 | 711 | 202661 | 959 | 981 | undefined |
tests/ifcfiles/public/ISSUE_159_kleine_Wohnung_R22.ifc | 9.73 | 76 | 667 | 189788 | 425 | 457 | undefined |
tests/ifcfiles/public/ISSUE_171_IfcSurfaceCurveSweptAreaSolid.ifc | 0.24 | 3 | 17 | 4327 | 60 | 141 | undefined |
tests/ifcfiles/public/IfcOpenHouse_IFC4.ifc | 0.11 | 1 | 6 | 2885 | 35 | 43 | undefined |
tests/ifcfiles/public/KIT-Simple-Road-Test-Web-IFC4x3_RC2.ifc | 0.38 | 390 | 163 | 6500 | 66 | 119 | undefined |
tests/ifcfiles/public/Office_A_20110811.ifc | 3.91 | 48 | 275 | 62930 | 803 | 810 | undefined |
tests/ifcfiles/public/S_Office_Integrated Design Archi.ifc | 29.62 | 274 | 5349 | 551442 | 3418 | 3873 | undefined |
tests/ifcfiles/public/Sample_entities.ifc | 0.03 | 0 | 0 | 466 | 2 | 10 | undefined |
tests/ifcfiles/public/advanced_model.ifc | 33.67 | 310 | 2348 | 594374 | 6401 | 14120 | undefined |
tests/ifcfiles/public/dental_clinic.ifc | 12.4 | 91 | 855 | 209259 | 2586 | 2626 | undefined |
tests/ifcfiles/public/duplex.ifc | 2.27 | 18 | 67 | 38898 | 216 | 224 | undefined |
tests/ifcfiles/public/example.ifc | 0.39 | 3 | 8 | 6488 | 115 | 119 | undefined |
tests/ifcfiles/public/ifcbridge-model01.ifc | 14.47 | 124 | 273 | 296968 | 165 | 168 | undefined |
tests/ifcfiles/public/schependomlaan.ifc | 47 | 395 | 825 | 714485 | 3569 | 3643 | undefined |
tests/ifcfiles/public/tested_sample_project.ifc | 0.68 | 6 | 118 | 14119 | 93 | 98 | undefined |
tests/ifcfiles/public/ifcbridge-model01.ifc | 14.47 | 180 | 281 | 296968 | 165 | 168 | undefined |
tests/ifcfiles/public/schependomlaan.ifc | 47 | 435 | 760 | 714485 | 3569 | 3643 | undefined |
tests/ifcfiles/public/tested_sample_project.ifc | 0.68 | 6 | 117 | 14119 | 93 | 98 | undefined |
14 changes: 0 additions & 14 deletions src/cpp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,20 +31,6 @@ file(GLOB WebIfcUtility utility/*.cpp)
file(GLOB WebIfcTestSourceFiles test/*.cpp)
file(GLOB WebIfcTestingMain web-ifc-test.cpp)

# Print the contents of WebIfcGeometry
message("Contents of WebIfcGeometry:")

foreach(file ${WebIfcGeometry})
message("${file}")
endforeach()

# Print the contents of WebIfcGeometryH
message("Contents of WebIfcGeometryH:")

foreach(file ${WebIfcGeometryH})
message("${file}")
endforeach()

# download the external projects and save their paths
Message("Downloading FastFloat")
FetchContent_Declare(fastfloat GIT_REPOSITORY "https://github.com/fastfloat/fast_float" GIT_TAG "2b2395f9ac836ffca6404424bcc252bff7aa80e4" SOURCE_SUBDIR "../")
Expand Down
Loading

0 comments on commit 240c281

Please sign in to comment.