Skip to content
Latest commit 58ab10a @bbonamin bbonamin committed with Changed, that the `<<` operator is used in Logger, instead of `+=`
Dramatically improves the performance of the code where strings are concatenated, by changing the "+=" for "<<".

Sample profiling of line 50 on logger.rb with a 20,000 lines json response from Elasticsearch:

    Before the change
    99.74%  48.04 seconds String#each_line

    After the change
    74.91%  0.11 seconds String#each_line

Closes #959
Failed to load latest commit information.
active_model_indexing_test.rb Restructured the test suite for Ruby 1.8 unit test compatibility
active_model_searchable_test.rb [ACTIVEMODEL] Added an example of facets in model search to integrati…
active_record_searchable_test.rb [TEST] Another try to battle percolator test failures with sleep
boolean_queries_test.rb Added support for boolean queries in ElasticSearch
boosting_queries_test.rb [TEST] Use `dfs_query_then_fetch` to prevent sporadic failures in Boo…
bulk_test.rb Fixed failing test on 0.90.7
constant_score_queries_test.rb [TEST] Use `dfs_query_then_fetch` to prevent sporadic failures in Boo…
count_test.rb Added the support for the Count API
custom_filters_score_queries_test.rb [#734] Added the `custom_filters_score` query from Tire contrib
custom_score_queries_test.rb [#789] Fix the mvel expression in `custom_score` query test
delete_by_query_test.rb Added support for "Delete By Query" API
dis_max_queries_test.rb [TEST] Removed the randomly and continuously failing test for `dis_ma…
dsl_search_test.rb Allow the `:wrapper` option to be passed to consistently
explanation_test.rb [#789] Fix the "explain" tests to conform to the new response format
facets_test.rb Added support for `geo_distance` facets
filtered_queries_test.rb [TEST] Sort result titles in `FilteredQueriesIntegrationTest`
filters_test.rb [TEST] Added a test case for filtering results with multiple terms as…
fuzzy_queries_test.rb [#289] Added the "fuzzy" query type
highlight_test.rb [#262] Simplified highlighting tests, improved test case name
index_aliases_test.rb [ALIASES] Added `Tire::Alias`, interface and DSL to manage aliases as…
index_mapping_test.rb Refactored the "Delete mapping" API support
index_store_test.rb [TEST] Added an integration test for verifying document is store as p…
index_update_document_test.rb [#789] Use the `:refresh` option in document update tests
match_query_test.rb Added a `match` query type
mongoid_searchable_test.rb Restructured the test suite for Ruby 1.8 unit test compatibility
multi_search_test.rb [MULTISEARCH] Added support for multi-search in the ActiveModel integ…
nested_query_test.rb [#475] Cleaned up and simplified the tests for `nested` query
percolator_test.rb [#789] Only run percolator tests when the `TRAVIS` environment variab…
persistent_model_test.rb [#789] Only run percolator tests when the `TRAVIS` environment variab…
prefix_query_test.rb [#222] Added a prefix query
query_return_version_test.rb Added a `Search#version` method to control returning the `version` fi…
query_string_test.rb Improved code structure, added unit test and separated integration te…
range_queries_test.rb Added support for range queries [#132]
reindex_test.rb Changed, that the `<<` operator is used in Logger, instead of `+=`
results_test.rb [TEST] Added an integration test for fields / script fields / _source
scan_test.rb Added support for the "scan" search in the Ruby API
script_fields_test.rb [#244] Added support for "script fields" (return a script evaluation …
search_response_test.rb [TEST] Fixed 0.90-based test for exposing the Elasticsearch response
sort_test.rb [TEST] Added integration test for sorting by multiple fields
suggest_test.rb Suggestions: Integration test for standalone suggestions
Something went wrong with that request. Please try again.