Skip to content

Commit 3f69b9c

Browse files
authored
Merge pull request #23 from HanSur94/feat/install-script
Replace setup.m with install.m for one-time installation
2 parents 33a5f17 + 0ae3eb3 commit 3f69b9c

209 files changed

Lines changed: 1639 additions & 280 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

benchmarks/benchmark.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
% 4. Linked axes with automatic re-downsample
1111
% In MATLAB (with JIT compilation), the downsampling cost is much lower.
1212

13-
addpath(fullfile(fileparts(mfilename('fullpath')), '..'));setup();
13+
addpath(fullfile(fileparts(mfilename('fullpath')), '..'));install();
1414
addpath(fullfile(fileparts(mfilename('fullpath')), '..', 'libs', 'FastSense', 'private'));
1515

1616
sizes = [1e4, 1e5, 1e6, 5e6, 10e6, 50e6];

benchmarks/benchmark_datastore.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ function benchmark_datastore()
44
% and disk footprint across multiple dataset sizes up to 500M points.
55

66
addpath(fullfile(fileparts(mfilename('fullpath')), '..'));
7-
setup();
7+
install();
88

99
sizes = [1e4, 1e5, 1e6, 5e6, 10e6, 50e6, 100e6, 200e6, 500e6];
1010
labels = {'10K', '100K', '1M', '5M', '10M', '50M', '100M', '200M', '500M'};

benchmarks/benchmark_features.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
% 6. FastSenseGrid tiled dashboard overhead
1111
% 7. Combined: all features together vs baseline
1212

13-
addpath(fullfile(fileparts(mfilename('fullpath')), '..'));setup();
13+
addpath(fullfile(fileparts(mfilename('fullpath')), '..'));install();
1414
addpath(fullfile(fileparts(mfilename('fullpath')), '..', 'libs', 'FastSense', 'private'));
1515

1616
sizes = [1e4, 1e5, 1e6, 5e6, 10e6];

benchmarks/benchmark_memory.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ function benchmark_memory()
1111
% Example:
1212
% benchmark_memory();
1313

14-
addpath(fullfile(fileparts(mfilename('fullpath')), '..'));setup();
14+
addpath(fullfile(fileparts(mfilename('fullpath')), '..'));install();
1515

1616
fprintf('=== FastSense Memory Benchmark ===\n\n');
1717

benchmarks/benchmark_resolve.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function benchmark_resolve()
77
test_dir = fileparts(mfilename('fullpath'));
88
repo_root = fileparts(test_dir);
99
addpath(repo_root);
10-
setup();
10+
install();
1111

1212
sizes = [1e4, 1e5, 1e6, 1e7, 1e8];
1313
naiveMaxN = Inf; % run naive for all sizes

benchmarks/benchmark_zoom.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
% Measures per-frame latency for individual zoom and pan operations.
33
% Forces GPU flush with getframe() to get true frame delivery time.
44

5-
addpath(fullfile(fileparts(mfilename('fullpath')), '..'));setup();
5+
addpath(fullfile(fileparts(mfilename('fullpath')), '..'));install();
66
addpath(fullfile(fileparts(mfilename('fullpath')), '..', 'libs', 'FastSense', 'private'));
77

88
sizes = [1e5, 1e6, 10e6, 50e6];

benchmarks/profile_datastore.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ function profile_datastore()
66
% 3. Full render with disk-backed lines
77
% 4. Zoom/pan re-downsample cycle
88

9-
addpath(fullfile(fileparts(mfilename('fullpath')), '..'));setup();
9+
addpath(fullfile(fileparts(mfilename('fullpath')), '..'));install();
1010

1111
n = 5e6; % 5M points — enough to see bottlenecks, fast enough to iterate
1212
fprintf('Generating %dM points...\n', n/1e6);

docs/generate_readme_images.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
% generate_readme_images.m — Generate README screenshots for FastSense features
22
% Run from the FastSense root directory:
3-
% octave --no-gui --eval "setup; run('docs/generate_readme_images.m')"
3+
% octave --no-gui --eval "install; run('docs/generate_readme_images.m')"
44

55
img_dir = fullfile(fileparts(mfilename('fullpath')), 'images');
66
if ~exist(img_dir, 'dir'); mkdir(img_dir); end

0 commit comments

Comments
 (0)