...

Source file src/go.mongodb.org/mongo-driver/benchmark/bson_types.go

Documentation: go.mongodb.org/mongo-driver/benchmark

     1  // Copyright (C) MongoDB, Inc. 2017-present.
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License"); you may
     4  // not use this file except in compliance with the License. You may obtain
     5  // a copy of the License at http://www.apache.org/licenses/LICENSE-2.0
     6  
     7  package benchmark
     8  
     9  import "go.mongodb.org/mongo-driver/bson/primitive"
    10  
    11  type flatBSONTags struct {
    12  	ID primitive.ObjectID `bson:"_id"`
    13  
    14  	AA  int64  `bson:"AAgSNVyBb"`
    15  	AI  bool   `bson:"aicoMxZq"`
    16  	AM  int64  `bson:"AMQrGQmu"`
    17  	Ag  int    `bson:"AgYYbYPr"`
    18  	Ah  int64  `bson:"ahFCBmqT"`
    19  	At  int64  `bson:"AtWNZJXa"`
    20  	BB  string `bson:"BBqZInWV"`
    21  	BK  int64  `bson:"bkuaZWRT"`
    22  	Bw  int    `bson:"BwTXiovJ"`
    23  	CD  int    `bson:"CDIGOuIZ"`
    24  	CEA string `bson:"CEtYKsdd"`
    25  	CEB string `bson:"cepcgozk"`
    26  	CF  int    `bson:"CFujXoob"`
    27  	CV  int64  `bson:"cVjWCrlu"`
    28  	CX  string `bson:"cxOHMeDJ"`
    29  	CY  string `bson:"CYhSCkWB"`
    30  	Cq  string `bson:"CqCssWxW"`
    31  	DC  int    `bson:"dCLfYqqM"`
    32  	DDA int    `bson:"ddPdLgGg"`
    33  	DDB int    `bson:"ddVenEkK"`
    34  	DH  string `bson:"dHsYhRbV"`
    35  	DJ  int    `bson:"DJsnHZIC"`
    36  	DN  string `bson:"dNSuxlSU"`
    37  	DO  int64  `bson:"doshbrpF"`
    38  	DP  string `bson:"dpbwfSRb"`
    39  	DQ  int64  `bson:"DQBQcQFj"`
    40  	DT  string `bson:"dtywOLeD"`
    41  	DV  int    `bson:"dVkWIafN"`
    42  	EG  bool   `bson:"egxZaSsw"`
    43  	ER  string `bson:"eRTIdIJR"`
    44  	FD  int64  `bson:"FDYGeSiR"`
    45  	FE  string `bson:"fEheUtop"`
    46  	Fp  bool   `bson:"FpduyhQP"`
    47  	GE  string `bson:"gErhgZTh"`
    48  	GY  int    `bson:"gySFZeAE"`
    49  	Gi  uint   `bson:"GiAHzFII"`
    50  	HN  string `bson:"hnVgYIQi"`
    51  	HQA int    `bson:"HQeCoswW"`
    52  	HQB int    `bson:"HQiykral"`
    53  	HV  int64  `bson:"HVHyetUM"`
    54  	HW  int    `bson:"hwHOTmmW"`
    55  	Hi  bool   `bson:"HicJbMpj"`
    56  	Hr  int    `bson:"HrUPbFHD"`
    57  	IF  string `bson:"iFFGfTXc"`
    58  	IJ  int    `bson:"ijwXMKqI"`
    59  	IW  int    `bson:"iwfbMdcv"`
    60  	Ib  string `bson:"Ibrdrtgg"`
    61  	Is  bool   `bson:"IsorvnMR"`
    62  	JB  string `bson:"jbUymqiB"`
    63  	JM  string `bson:"jmglLvAS"`
    64  	JW  int    `bson:"jWaFvVAz"`
    65  	JX  int    `bson:"JXMyYkfb"`
    66  	Jh  bool   `bson:"JhImQOkw"`
    67  	Jr  string `bson:"JrJzKiIx"`
    68  	Jz  int    `bson:"JzgaUWVG"`
    69  	KF  bool   `bson:"kfvcFmKw"`
    70  	KM  int64  `bson:"KMKBtlov"`
    71  	Kn  string `bson:"KnhgtAOJ"`
    72  	Ky  int    `bson:"KyxOoCqS"`
    73  	LU  string `bson:"LUPqMOHS"`
    74  	LV  bool   `bson:"LVNIFCYm"`
    75  	Ln  int    `bson:"LngvlnTV"`
    76  	ML  int    `bson:"mlfZVfVT"`
    77  	MN  bool   `bson:"MNuWZMLP"`
    78  	MX  int    `bson:"MXMxLVBk"`
    79  	Mc  string `bson:"McpOBmaR"`
    80  	Me  string `bson:"MeUYSkPS"`
    81  	Mq  int    `bson:"MqfkBZJF"`
    82  	NB  int    `bson:"nBKWWUWk"`
    83  	NK  int    `bson:"nKhiSITP"`
    84  	OB  int    `bson:"obcwwqWZ"`
    85  	OC  string `bson:"OCsIhHxq"`
    86  	OM  int    `bson:"omnwvBbA"`
    87  	OR  string `bson:"oRWMNJTE"`
    88  	Of  string `bson:"OfTmCvDx"`
    89  	PA  int    `bson:"pacTBmxE"`
    90  	PF  int    `bson:"PFZSRHNN"`
    91  	PK  bool   `bson:"pKjOghFa"`
    92  	PO  int    `bson:"pOMEwSod"`
    93  	PP  string `bson:"pPtPsgRl"`
    94  	PQ  int    `bson:"pQyCJaEd"`
    95  	Pj  int    `bson:"PjKiuWnQ"`
    96  	Pv  int    `bson:"PvfnpsMV"`
    97  	QH  int    `bson:"qHzOMXeT"`
    98  	QR  bool   `bson:"qrJASGzU"`
    99  	Qo  string `bson:"QobifTeZ"`
   100  	RE  int64  `bson:"reiKnuza"`
   101  	RM  string `bson:"rmzUAgmk"`
   102  	RP  string `bson:"RPsQhgRD"`
   103  	Rb  uint   `bson:"Rbxpznea"`
   104  	ReA bool   `bson:"RemSsnnR"`
   105  	ReB int    `bson:"ReOZakjB"`
   106  	Rw  string `bson:"RwAVVKHM"`
   107  	SG  bool   `bson:"sGWJTAcT"`
   108  	SU  uint8  `bson:"SUWXijHT"`
   109  	SYA int64  `bson:"sYtnozSc"`
   110  	SYB string `bson:"SYtZkQbC"`
   111  	Sq  int64  `bson:"SqNvlUZF"`
   112  	TA  int    `bson:"taoNnQYY"`
   113  	TD  string `bson:"TDUzNJiH"`
   114  	TI  string `bson:"tIJEYSYM"`
   115  	TR  bool   `bson:"TRpgnInA"`
   116  	Tg  int    `bson:"TgSwBbgp"`
   117  	Tk  int64  `bson:"TkXMwZlU"`
   118  	Tm  int64  `bson:"TmUnYUrv"`
   119  	UK  int    `bson:"UKwbAKGw"`
   120  	UM  string `bson:"uMDWqLMf"`
   121  	Up  bool   `bson:"UpdMADoN"`
   122  	Ut  int64  `bson:"UtbwOKLt"`
   123  	VC  int64  `bson:"VCSKFCoE"`
   124  	VK  string `bson:"vkEDWgmN"`
   125  	VL  string `bson:"vlSZaxCV"`
   126  	VS  string `bson:"vSLTtfDF"`
   127  	VVA bool   `bson:"vvUeXASH"`
   128  	VVB int    `bson:"VVvwKVRG"`
   129  	Vc  bool   `bson:"VcCSqSmp"`
   130  	Vp  int16  `bson:"VplFgewF"`
   131  	Vt  string `bson:"VtzeOlCT"`
   132  	WH  bool   `bson:"WHSQVLKG"`
   133  	WJA bool   `bson:"wjfyueDC"`
   134  	WJB string `bson:"wjAWaOog"`
   135  	WM  int64  `bson:"wmDLUkXt"`
   136  	WY  string `bson:"WYJdGJLu"`
   137  	Wm  bool   `bson:"WmMOvgFc"`
   138  	Wo  string `bson:"WoFGfdvb"`
   139  	XE  int    `bson:"XEBqaXkB"`
   140  	XG  bool   `bson:"XGxlHrXf"`
   141  	XR  string `bson:"xrzGnsEK"`
   142  	XWA int64  `bson:"xWpeGNjl"`
   143  	XWB string `bson:"xWUlYggc"`
   144  	XX  int64  `bson:"XXKbyIXG"`
   145  	XZ  int64  `bson:"xZOksssj"`
   146  	Xe  uint   `bson:"XeRkAyCq"`
   147  	Xx  int    `bson:"XxvXmHiQ"`
   148  	YD  string `bson:"YDHWnEXV"`
   149  	YE  bool   `bson:"yeTUgNrU"`
   150  	YK  int    `bson:"yKfZnGKG"`
   151  	YX  string `bson:"yXSBbPeT"`
   152  	ZD  bool   `bson:"zDzSGNnW"`
   153  	ZE  bool   `bson:"zEgGhhZf"`
   154  	ZM  string `bson:"zMCFzcWY"`
   155  	ZSA int64  `bson:"zSYvADVf"`
   156  	ZSB int64  `bson:"zswQbWEI"`
   157  	Zm  string `bson:"ZmtEJFSO"`
   158  }
   159  
   160  type flatBSON struct {
   161  	AMQrGQmu  int64
   162  	AAgSNVyBb int64
   163  	AgYYbYPr  int
   164  	AtWNZJXa  int64
   165  	BBqZInWV  string
   166  	BwTXiovJ  int
   167  	CDIGOuIZ  int
   168  	CEtYKsdd  string
   169  	CFujXoob  int
   170  	CYhSCkWB  string
   171  	CqCssWxW  string
   172  	DJsnHZIC  int
   173  	DQBQcQFj  int64
   174  	FDYGeSiR  int64
   175  	FpduyhQP  bool
   176  	GiAHzFII  uint
   177  	HQeCoswW  int
   178  	HQiykral  int
   179  	HVHyetUM  int64
   180  	HicJbMpj  bool
   181  	HrUPbFHD  int
   182  	Ibrdrtgg  string
   183  	IsorvnMR  bool
   184  	JXMyYkfb  int
   185  	JhImQOkw  bool
   186  	JrJzKiIx  string
   187  	JzgaUWVG  int
   188  	KMKBtlov  int64
   189  	KnhgtAOJ  string
   190  	KyxOoCqS  int
   191  	LUPqMOHS  string
   192  	LVNIFCYm  bool
   193  	LngvlnTV  int
   194  	MNuWZMLP  bool
   195  	MXMxLVBk  int
   196  	McpOBmaR  string
   197  	MeUYSkPS  string
   198  	MqfkBZJF  int
   199  	OCsIhHxq  string
   200  	OfTmCvDx  string
   201  	PjKiuWnQ  int
   202  	PvfnpsMV  int
   203  	QobifTeZ  string
   204  	RPsQhgRD  string
   205  	Rbxpznea  uint
   206  	ReOZakjB  int
   207  	RemSsnnR  bool
   208  	RwAVVKHM  string
   209  	SUWXijHT  uint8
   210  	SYtZkQbC  string
   211  	SqNvlUZF  int64
   212  	TDUzNJiH  string
   213  	TRpgnInA  bool
   214  	TgSwBbgp  int
   215  	TkXMwZlU  int64
   216  	TmUnYUrv  int64
   217  	UKwbAKGw  int
   218  	UpdMADoN  bool
   219  	UtbwOKLt  int64
   220  	VCSKFCoE  int64
   221  	VVvwKVRG  int
   222  	VcCSqSmp  bool
   223  	VplFgewF  int16
   224  	VtzeOlCT  string
   225  	WHSQVLKG  bool
   226  	WYJdGJLu  string
   227  	WmMOvgFc  bool
   228  	WoFGfdvb  string
   229  	XEBqaXkB  int
   230  	XGxlHrXf  bool
   231  	XXKbyIXG  int64
   232  	XeRkAyCq  uint
   233  	XxvXmHiQ  int
   234  	YDHWnEXV  string
   235  	ZmtEJFSO  string
   236  	ID        primitive.ObjectID `bson:"_id"`
   237  	AhFCBmqT  int64
   238  	AicoMxZq  bool
   239  	BkuaZWRT  int64
   240  	CVjWCrlu  int64
   241  	Cepcgozk  string
   242  	CxOHMeDJ  string
   243  	DCLfYqqM  int
   244  	DHsYhRbV  string
   245  	DNSuxlSU  string
   246  	DVkWIafN  int
   247  	DdPdLgGg  int
   248  	DdVenEkK  int
   249  	DoshbrpF  int64
   250  	DpbwfSRb  string
   251  	DtywOLeD  string
   252  	ERTIdIJR  string
   253  	EgxZaSsw  bool
   254  	FEheUtop  string
   255  	GErhgZTh  string
   256  	GySFZeAE  int
   257  	HnVgYIQi  string
   258  	HwHOTmmW  int
   259  	IFFGfTXc  string
   260  	IjwXMKqI  int
   261  	IwfbMdcv  int
   262  	JWaFvVAz  int
   263  	JbUymqiB  string
   264  	JmglLvAS  string
   265  	KfvcFmKw  bool
   266  	MlfZVfVT  int
   267  	NBKWWUWk  int
   268  	NKhiSITP  int
   269  	ORWMNJTE  string
   270  	ObcwwqWZ  int
   271  	OmnwvBbA  int
   272  	PKjOghFa  bool
   273  	POMEwSod  int
   274  	PPtPsgRl  string
   275  	PQyCJaEd  int
   276  	PacTBmxE  int
   277  	QHzOMXeT  int
   278  	QrJASGzU  bool
   279  	ReiKnuza  int64
   280  	RmzUAgmk  string
   281  	SGWJTAcT  bool
   282  	SYtnozSc  int64
   283  	TIJEYSYM  string
   284  	TaoNnQYY  int
   285  	UMDWqLMf  string
   286  	VSLTtfDF  string
   287  	VkEDWgmN  string
   288  	VlSZaxCV  string
   289  	VvUeXASH  bool
   290  	WjAWaOog  string
   291  	WjfyueDC  bool
   292  	WmDLUkXt  int64
   293  	XWUlYggc  string
   294  	XWpeGNjl  int64
   295  	XZOksssj  int64
   296  	XrzGnsEK  string
   297  	YKfZnGKG  int
   298  	YXSBbPeT  string
   299  	YeTUgNrU  bool
   300  	ZDzSGNnW  bool
   301  	ZEgGhhZf  bool
   302  	ZMCFzcWY  string
   303  	ZSYvADVf  int64
   304  	ZswQbWEI  int64
   305  	PfZSRHnn  int
   306  }
   307  

View as plain text