1
0
mirror of https://github.com/m00natic/vlfi.git synced 2024-10-05 18:30:51 +01:00
Commit Graph

281 Commits

Author SHA1 Message Date
Andrey Kotlarski
5dd9e2cd02 Adjust address parts of hexlified buffer according to vlf-start-pos. 2014-10-16 02:56:34 +03:00
Andrey Kotlarski
305d8022c4 Use shared profiling info for encode, write and hexl operations. 2014-10-08 19:33:59 +03:00
Andrey Kotlarski
d579b7b3e2 Workaround local maximum in batch tune. 2014-10-07 14:18:34 +03:00
Andrey Kotlarski
ce13609f14 Fix vlf-ediff at the borders of hexl buffers. 2014-10-07 13:20:04 +03:00
Andrey Kotlarski
673ae08848 Lower tramp verbosity level. 2014-10-07 13:19:40 +03:00
Andrey Kotlarski
ac8d4008bd Fixes to hexl-mode activation. 2014-10-07 01:42:33 +03:00
Andrey Kotlarski
7b9befe81a - don't load unnecessary data at the end of search or occur
- don't flood profile vector with approximations in linear search
2014-10-07 01:33:21 +03:00
Andrey Kotlarski
61599a007f Change linear tune to search only known measures and use it to
initialize occur indexing.  Make default tune step smaller.
2014-10-02 13:49:42 +03:00
Andrey Kotlarski
3cfa9b1935 Refactor vlf-query-replace and don't adjust batch size if only
statistics are enabled.
2014-09-26 15:22:25 +03:00
Andrey Kotlarski
f63ea96c2b Document new query replace and save options. 2014-09-26 14:14:16 +03:00
Andrey Kotlarski
c3a308c835 Optimize save performance over the temp file if such is used. Add
customization option whether to use temp file.
2014-09-26 14:00:01 +03:00
Andrey Kotlarski
842569ae07 Add ability to use temporary file when adjusting content on save. 2014-09-26 01:56:12 +03:00
Andrey Kotlarski
2c660b064f Fix positive goto-line search and make highlighting of match optional. 2014-09-25 19:15:12 +03:00
Andrey Kotlarski
a9c14e2d4c Add regexp query replace over whole file command. 2014-09-25 17:54:42 +03:00
Andrey Kotlarski
023ee704e7 Declare hexl functions to please byte compiler. 2014-09-25 17:53:21 +03:00
Andrey Kotlarski
e4a2e806c9 Optimize goto-line for hexl-mode, no need to search. 2014-09-25 01:25:48 +03:00
Andrey Kotlarski
b9187918f7 Improve vlf performance with hexl-mode. Align batches to hexl-bits
width.
2014-09-25 01:23:08 +03:00
Andrey Kotlarski
d9cc6fb65e Fix vlf-tune-optimal-load in case best value prunes slower times leaving
all-less flag on.
2014-09-08 14:32:02 +03:00
Andrey Kotlarski
199209fe15 Fix vlf-tune-optimal-load with no optional arguments supplied. 2014-09-08 12:36:35 +03:00
Andrey Kotlarski
06b4f856ac Respect disabled tune settings and move custom options. 2014-09-08 02:21:09 +03:00
Andrey Kotlarski
ff06509caa Document tune functionality. 2014-09-08 02:19:29 +03:00
Andrey Kotlarski
9b6657bcc5 Replace usage of conservative tune in single batch operations with load
tuning.
2014-09-07 22:10:56 +03:00
Andrey Kotlarski
ca564988e0 Change vlf-tune-get-optimal to optimize on total time of primitive
operations, also fix hexl timing functions not to book in cases where
hexl is already (not) active.
2014-09-07 18:05:13 +03:00
Andrey Kotlarski
0d2c096ed6 Restore batch size and hexl mode in case of failed search or occur. 2014-09-07 18:04:17 +03:00
Andrey Kotlarski
d526ea8ef8 Apply and restore batch size in more cases. 2014-09-07 16:25:36 +03:00
Andrey Kotlarski
9271f68c05 Add function to linearly search best batch size according to existing
measurements and offer it when interactively changing batch size.
2014-09-07 00:08:32 +03:00
Andrey Kotlarski
35ede9403c Restore batch size after save with adjustment. 2014-09-07 00:07:21 +03:00
Andrey Kotlarski
ee7409bfa5 Tune batch size in more cases. 2014-09-07 00:06:10 +03:00
Andrey Kotlarski
11c7af4b04 Change handling of measurement values to support approximations. 2014-09-07 00:02:14 +03:00
Andrey Kotlarski
5651ee3d61 Rename vlf-tune-optimal to vlf-tune-batch. 2014-09-06 23:59:32 +03:00
Andrey Kotlarski
f3212ec9a6 Fix measure approximation and allow tuning to just over half file
batch.
2014-09-05 19:11:48 +03:00
Andrey Kotlarski
48a014f3bc Fix write measuring and endless loop in nearby approximation. 2014-09-05 14:44:24 +03:00
Andrey Kotlarski
facdb9f6bc Fix binary tune base case and add approximation after access to
previously queried measure that is still missing.
2014-09-05 13:52:46 +03:00
Andrey Kotlarski
e8bb4a91da Apply batch size tuning on adjacent moves, search, save adjusting and
report total times.
2014-09-05 02:52:32 +03:00
Andrey Kotlarski
e18a05b7cb Add linear search for tuning and prefer smaller batches. 2014-09-05 02:49:55 +03:00
Andrey Kotlarski
d85f3d43fc Fix access to uninitialized measurements when tuning. 2014-09-04 15:43:37 +03:00
Andrey Kotlarski
0d9cc8e488 Don't measure encoding of too small region when adjusting chunk start
and fix passing of elements to tune in vlf-occur.
2014-09-04 15:26:25 +03:00
Andrey Kotlarski
d67825c4cd Move back to using average speed when measuring and tuning. Be more
precise when choosing index for measurement.
2014-09-04 15:25:44 +03:00
Andrey Kotlarski
70a81077ab Add vlf-batch-size tuning in vlf-occur. 2014-09-04 03:34:27 +03:00
Andrey Kotlarski
5379943cd7 Save times instead of speeds, compare on cumulative speed when tuning. 2014-09-04 03:33:05 +03:00
Andrey Kotlarski
fb0503064d Add basic tune strategies. 2014-09-03 02:35:20 +03:00
Andrey Kotlarski
069b2f55d4 Replace operations with respective vlf-tune wrappers. 2014-08-31 02:38:14 +03:00
Andrey Kotlarski
32ff2cb067 Add bookkeeping module. 2014-08-31 02:10:28 +03:00
Andrey Kotlarski
2e9ff70d56 Enlarge default batch size but keep is small on initial load of remote
files and on demand.
2014-08-23 00:09:44 +03:00
Andrey Kotlarski
569e4b2523 Don't ask needles questions on changing helm batch and restore undo
information when possible.
2014-08-23 00:01:13 +03:00
Andrey Kotlarski
557d751f78 Be more precise on restoring hexl-mode after chunk update has been
canceled.
2014-08-18 01:19:59 +03:00
Andrey Kotlarski
694d1de495 Allow vlf-occur results be saved to file and later reused. 2014-08-17 22:45:09 +03:00
Andrey Kotlarski
86223ed46c Fixes to hexl-mode integration. 2014-08-17 22:27:36 +03:00
Andrey Kotlarski
274c5ab903 Perform search, occur and ediff operations over hexl content instead
over raw data when hexl-mode is active.
2014-08-12 23:31:09 +03:00
Andrey Kotlarski
a1ca1e3428 Don't launch vlf when file size is less than vlf-batch-size. 2014-08-12 03:18:03 +03:00