🎥 Make videos programmatically with React
new memory guidelines
Jonny Burgerbbd301d8cf72
diff --git a/packages/renderer/src/test/rust-memory-usage.test.ts b/packages/renderer/src/test/rust-memory-usage.test.tsindex 906f322534..46ff6170ce 100644--- a/packages/renderer/src/test/rust-memory-usage.test.ts+++ b/packages/renderer/src/test/rust-memory-usage.test.ts@@ -23,7 +23,7 @@ test('Memory usage should be determined ', async () => {const stats = await compositor.executeCommand('GetOpenVideoStats', {});const statsJson = JSON.parse(stats.toString('utf-8'));expect(statsJson).toEqual({- frames_in_cache: 249,+ frames_in_cache: 84,open_streams: 1,open_videos: 1,});@@ -37,7 +37,7 @@ test('Memory usage should be determined ', async () => {const stats2 = await compositor.executeCommand('GetOpenVideoStats', {});const statsJson2 = JSON.parse(stats2.toString('utf-8'));expect(statsJson2).toEqual({- frames_in_cache: 349,+ frames_in_cache: 184,open_streams: 2,open_videos: 2,});@@ -48,7 +48,7 @@ test('Memory usage should be determined ', async () => {const stats3 = await compositor.executeCommand('GetOpenVideoStats', {});const statsJson3 = JSON.parse(stats3.toString('utf-8'));- expect(statsJson3.frames_in_cache).toBe(174);+ expect(statsJson3.frames_in_cache).toBe(92);await compositor.executeCommand('FreeUpMemory', {percent_of_memory: 0.5,@@ -57,7 +57,7 @@ test('Memory usage should be determined ', async () => {const stats4 = await compositor.executeCommand('GetOpenVideoStats', {});const statsJson4 = JSON.parse(stats4.toString('utf-8'));expect(statsJson4).toEqual({- frames_in_cache: 87,+ frames_in_cache: 46,open_streams: 1,open_videos: 1,});