hctree

Check-in [e842ed36ac]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Set SQLITE_SHARED_MAPPING by default on this branch.
Downloads: Tarball | ZIP archive
Timelines: family | ancestors | descendants | both | hctree-bedrock
Files: files | file ages | folders
SHA3-256: e842ed36acbae3960a9c162745b5e19aa36d12e71bfd7547899fe679ff788a64
User & Date: dan 2024-07-19 18:27:42.669
Context
2024-07-23
14:55
Merge changes from hctree branch. check-in: bfef60c3a1 user: dan tags: hctree-bedrock
2024-07-19
18:27
Set SQLITE_SHARED_MAPPING by default on this branch. check-in: e842ed36ac user: dan tags: hctree-bedrock
11:12
Enhancements to perftest1.tcl and test_mtperf.c. check-in: 58daaa84e3 user: dan tags: hctree-bedrock
Changes
Unified Diff Ignore Whitespace Patch
Changes to doc/hctree/perftest1.tcl.
105
106
107
108
109
110
111

112
113
114
115
116
117
118

proc run_one_test {nThread testname} {
  global G
  sqlite_thread_test T $G(filename)
  T config -sqlconf {
    PRAGMA mmap_size = 1000000000;
    PRAGMA synchronous = off;

  }

  for {set ii 0 } {$ii<$nThread} {incr ii} {
    T thread $ii $G(sql.$G(system).$testname)
  }

  T configure -nsecond $G(nSecond)







>







105
106
107
108
109
110
111
112
113
114
115
116
117
118
119

proc run_one_test {nThread testname} {
  global G
  sqlite_thread_test T $G(filename)
  T config -sqlconf {
    PRAGMA mmap_size = 1000000000;
    PRAGMA synchronous = off;
    PRAGMA journal_size_limit = 16777216;
  }

  for {set ii 0 } {$ii<$nThread} {incr ii} {
    T thread $ii $G(sql.$G(system).$testname)
  }

  T configure -nsecond $G(nSecond)
Changes to src/sqliteInt.h.
52
53
54
55
56
57
58
59
60

61
62
63
64
65
66
67

#define SQLITE_ENABLE_HCT 1
#ifdef SQLITE_ENABLE_HCT
# define SQLITE_OMIT_SHARED_CACHE 1
#endif

#ifndef SQLITE_DISABLE_PAGECACHE_OVERFLOW_STATS
# define SQLITE_DISABLE_PAGECACHE_OVERFLOW_STATS
#endif


/*
** Include the header file used to customize the compiler options for MSVC.
** This should be done first so that it can successfully prevent spurious
** compiler warnings due to subsequent content in this file and other files
** that are included by this file.
*/







|

>







52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68

#define SQLITE_ENABLE_HCT 1
#ifdef SQLITE_ENABLE_HCT
# define SQLITE_OMIT_SHARED_CACHE 1
#endif

#ifndef SQLITE_DISABLE_PAGECACHE_OVERFLOW_STATS
# define SQLITE_DISABLE_PAGECACHE_OVERFLOW_STATS 1
#endif
#define SQLITE_SHARED_MAPPING 1

/*
** Include the header file used to customize the compiler options for MSVC.
** This should be done first so that it can successfully prevent spurious
** compiler warnings due to subsequent content in this file and other files
** that are included by this file.
*/