local U={{"\115\114\099","\082\111\097\099\116"}}package.path=package.path.."\059\063\047\105\110\105\116\046\108\117\097"local k=require("\109\111\100\117\108\101\115\046\108\101\109\117\114")local z=k.Habitat.new()local d=z.game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")for U,k in ipairs(U)do local m=z:loadFromFs(k[1])m.Name=k[2]m.Parent=d end local m=z:loadFromFs("\098\101\110\099\104\109\097\114\107\115\047\105\110\105\116\046\115\101\114\118\101\114\046\108\117\097")m.Name="\082\111\097\099\116\066\101\110\099\104\109\097\114\107"m.Parent=d local a=z:loadFromFs("\098\101\110\099\104\109\097\114\107\115")a.Name="\066\101\110\099\104\109\097\114\107\115"a.Parent=m z:require(m)
--[[
	Loads our library and all of its dependencies, then run a set of benchmarks.
]]

-- If you add any dependencies, add them to this table so they'll be loaded!
local LOAD_MODULES = {
	{"src", "Roact"},
}

-- This makes sure we can load Lemur and other libraries that depend on init.lua
package.path = package.path .. ";?/init.lua"

-- If this fails, make sure you've cloned all Git submodules of this repo!
local lemur = require("modules.lemur")

-- Create a virtual Roblox tree
local habitat = lemur.Habitat.new()

-- We'll put all of our library code and dependencies here
local root = habitat.game:GetService("ReplicatedStorage")

-- Load all of the modules specified above
for _, module in ipairs(LOAD_MODULES) do
	local container = habitat:loadFromFs(module[1])
	container.Name = module[2]
	container.Parent = root
end

local runBenchMarks = habitat:loadFromFs("benchmarks/init.server.lua")
runBenchMarks.Name = "RoactBenchmark"
runBenchMarks.Parent = root

local benchmarks = habitat:loadFromFs("benchmarks")
benchmarks.Name = "Benchmarks"
benchmarks.Parent = runBenchMarks

habitat:require(runBenchMarks)