Skip to content
This repository was archived by the owner on Apr 2, 2024. It is now read-only.

Commit eb72fbf

Browse files
committed
goprotobuf -> gogoprotobuf
1 parent 1575e33 commit eb72fbf

19 files changed

+1098
-28
lines changed

CHANGES.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,9 @@ Bug Handling
4141
Features
4242
--------
4343

44+
* Switched from using goprotobuf to gogoprotobuf with marshal_all and
45+
unmarshal_all extensions for significant performance increase.
46+
4447
* Added stats graph sandbox filter to make it easier to generate graphs of
4548
statsd / graphite metrics (issue #966).
4649

client/encoders.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
package client
1717

1818
import (
19-
"code.google.com/p/goprotobuf/proto"
19+
"code.google.com/p/gogoprotobuf/proto"
2020
"crypto/hmac"
2121
"crypto/md5"
2222
"crypto/sha1"

cmake/externals.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,9 +166,9 @@ if (INCLUDE_DOCUMENTATION)
166166
endif()
167167

168168
hg_clone(https://code.google.com/p/go-uuid default)
169-
hg_clone(https://code.google.com/p/goprotobuf default)
170-
add_custom_command(TARGET goprotobuf POST_BUILD
171-
COMMAND ${GO_EXECUTABLE} install code.google.com/p/goprotobuf/protoc-gen-go)
169+
git_clone(https://code.google.com/p/gogoprotobuf d228c1a206c3)
170+
add_custom_command(TARGET gogoprotobuf POST_BUILD
171+
COMMAND ${GO_EXECUTABLE} install code.google.com/p/gogoprotobuf/protoc-gen-gogo)
172172

173173
include(plugin_loader OPTIONAL)
174174

cmake/message_proto.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ if(NOT PROTOBUF_EXECUTABLE)
33
endif()
44

55
execute_process(
6-
COMMAND ${PROTOBUF_EXECUTABLE} --go_out=. message.proto
6+
COMMAND ${PROTOBUF_EXECUTABLE} --gogo_out=. -I=.:../build/heka/src/code.google.com/p/gogoprotobuf/gogoproto:../build/heka/src/code.google.com/p/gogoprotobuf/protobuf message.proto
77
WORKING_DIRECTORY "${SRC_DIR}/message"
88
)

cmd/heka-cat/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ protobuf logs.
2020
package main
2121

2222
import (
23-
"code.google.com/p/goprotobuf/proto"
23+
"code.google.com/p/gogoprotobuf/proto"
2424
"encoding/json"
2525
"flag"
2626
"fmt"

0 commit comments

Comments
 (0)